public final class HttpServiceRuntimeConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HTTP_SERVICE_ENDPOINT
Http Runtime Service service property specifying the endpoints upon which
the Http Whiteboard implementation is listening.
|
static String |
HTTP_SERVICE_ID
Http Runtime Service service property to associate the Http Runtime
Service with one or more HttpService services.
|
public static final String HTTP_SERVICE_ENDPOINT
An endpoint value is a URL or a relative path, to which the Http
Whiteboard implementation is listening. For example,
http://192.168.1.10:8080/
or /myapp/
. A relative path may
be used if the scheme and authority parts of the URL are not known, e.g.
in a bridged Http Whiteboard implementation. If the Http Whiteboard
implementation is serving the root context and neither scheme nor
authority is known, the value of the property is "/". Both, a URL and a
relative path, must end with a slash.
An Http Whiteboard implementation can be listening on multiple endpoints.
The value of this service property must be of type String
,
String[]
, or Collection<String>
.
public static final String HTTP_SERVICE_ID
If this Http Whiteboard implementation also implements the Http Service
Specification, this service property is set to a collection of
service.id
for the HttpService
services registered by
this implementation.
The value of this service property must be of type
Collection<Long>
.
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0