Class JakartarsServiceRuntimeConstants

java.lang.Object
org.osgi.service.jakartars.runtime.JakartarsServiceRuntimeConstants

public final class JakartarsServiceRuntimeConstants extends Object
Defines standard names for Jakarta RESTful Web Services Runtime Service constants.
  • Field Details

    • JAKARTA_RS_SERVICE_ENDPOINT

      public static final String JAKARTA_RS_SERVICE_ENDPOINT
      Jakarta RESTful Web Services Runtime Service service property specifying the endpoints upon which the Jakarta RESTful Web Services implementation is available.

      An endpoint value is a URL or a relative path, to which the Jakarta RESTful Web Services 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 Jakarta RESTful Web Services 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 Jakarta RESTful Web Services 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: