|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.servlets.resolver.internal.ServletResolverConstants
public class ServletResolverConstants
Field Summary | |
---|---|
static String |
DEFAULT_ERROR_HANDLER_NAME
The "method" name of an error handler used as the default (value is "default"). |
static String |
DEFAULT_SERVLET_NAME
The resource type of a registered servlet used as the default servlet if no other servlet or script could be selected (value is "sling/servlet/default"). |
static String |
ERROR_HANDLER_PATH
The resource used to select error handlers (value is "sling/servlet/errorhandler"). |
static String |
SLING_SERLVET_NAME
The name of the service registration property of a Servlet registered as a service containing the name of the servlet (value is "sling.core.servletName"). |
static String |
SLING_SERVLET_EXTENSIONS
The name of the service registration property of a Servlet registered as a service containing the request URL extensions supported by the servlet for GET requests (value is "sling.servlet.extensions"). |
static String |
SLING_SERVLET_METHODS
The name of the service registration property of a Servlet registered as a service containing the request methods supported by the servlet (value is "sling.servlet.methods"). |
static String |
SLING_SERVLET_PATHS
The name of the service registration property of a servlet registered as a service providing the absolute paths under which the servlet is accessible as a resource (value is "sling.servlet.paths") |
static String |
SLING_SERVLET_PREFIX
The name of the service registration property of a servlet registered as a service providing the prefix/index to be used to register this servlet. |
static String |
SLING_SERVLET_RESOURCE_TYPES
The name of the service registration property of a servlet registered as a service containing the resource type(s) supported by the servlet (value is "sling.servlet.resourceTypes"). |
static String |
SLING_SERVLET_SELECTORS
The name of the service registration property of a Servlet registered as a service containing the request URL selectors supported by the servlet (value is "sling.servlet.selectors"). |
Constructor Summary | |
---|---|
ServletResolverConstants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SLING_SERVLET_PATHS
The type of this property is a String or String[] (array of strings) denoting the absolute path(s) under the servlet is registered in the resource tree.
Either this property or the SLING_SERVLET_RESOURCE_TYPES
property must be set, or the servlet is ignored. If both are set, the
servlet is registered using both ways.
public static final String SLING_SERVLET_RESOURCE_TYPES
The type of this property is a String or String[] (array of strings) denoting the resource types.
Either this property or the SLING_SERVLET_PATHS
property must be
set, or the servlet is ignored. If both are set, the servlet is
registered using both ways.
public static final String SLING_SERVLET_PREFIX
The type of this property is either String or a Number.
public static final String SLING_SERVLET_SELECTORS
The type of this property is a String or String[] (array of strings)
denoting the resource types. This property is ignored if the
SLING_SERVLET_RESOURCE_TYPES
property is not set. Otherwise this property is
optional and ignored if not set.
public static final String SLING_SERVLET_EXTENSIONS
The type of this property is a String or String[] (array of strings)
denoting the resource types. This property is ignored if the
SLING_SERVLET_RESOURCE_TYPES
property is not set. Otherwise this property or
the SLING_SERVLET_METHODS
is optional and ignored if not set.
public static final String SLING_SERVLET_METHODS
The type of this property is a String or String[] (array of strings)
denoting the resource types. This property is ignored if the
SLING_SERVLET_RESOURCE_TYPES
property is not set. Otherwise this property or
the SLING_SERVLET_EXTENSIONS
is optional and ignored if not set.
public static final String DEFAULT_SERVLET_NAME
DefaultServlet
is
used.
public static final String ERROR_HANDLER_PATH
public static final String DEFAULT_ERROR_HANDLER_NAME
public static final String SLING_SERLVET_NAME
component.name
property or the service.pid
is used. If none of the three properties is defined, the Servlet is
ignored.
Constructor Detail |
---|
public ServletResolverConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |