Class HttpServiceRuntimeConstants

java.lang.Object
org.osgi.service.http.runtime.HttpServiceRuntimeConstants

public final class HttpServiceRuntimeConstants extends Object
Defines standard names for Http Runtime Service constants.
Author:
$Id: 86b2dc4aa0b2a8601d247a043a127017d5d02c0e $
  • Field Details

    • HTTP_SERVICE_ENDPOINT

      public static final String HTTP_SERVICE_ENDPOINT
      Http Runtime Service service property specifying the endpoints upon which the Http Whiteboard implementation is listening.

      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>.

      See Also:
    • HTTP_SERVICE_ID

      public static final String HTTP_SERVICE_ID
      Http Runtime Service service property to associate the Http Runtime Service with one or more HttpService services.

      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>.

      See Also: