Class JaxrsServiceRuntimeConstants

java.lang.Object
org.osgi.service.jaxrs.runtime.JaxrsServiceRuntimeConstants

public final class JaxrsServiceRuntimeConstants extends Object
Defines standard names for JAX-RS Runtime Service constants.
  • Field Details

    • JAX_RS_SERVICE_ENDPOINT

      public static final String JAX_RS_SERVICE_ENDPOINT
      JAX-RS Runtime Service service property specifying the endpoints upon which the JAX-RS implementation is available.

      An endpoint value is a URL or a relative path, to which the JAX-RS 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. if a bridged Http Whiteboard implementation is used. If the JAX-RS 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.

      A JAX-RS 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: