public final class JaxrsServiceRuntimeConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAX_RS_SERVICE_ENDPOINT
JAX-RS Runtime Service service property specifying the endpoints upon
which the JAX-RS implementation is available.
|
public static final java.lang.String JAX_RS_SERVICE_ENDPOINT
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>
.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0