@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ApplicationPath
Path
. May only be
applied to a subclass of Application
.
When published in a Servlet container, the value of the application path may be overridden using a servlet-mapping element in the web.xml.
Application
,
Path
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Defines the base URI for all resource URIs.
|
public abstract java.lang.String value
The supplied value is automatically percent
encoded to conform to the path
production of
RFC 3986 section 3.3.
Note that percent encoded values are allowed in the value, an
implementation will recognize such values and will not double
encode the '%' character.