public abstract class ServletConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_APP_ROOT
The name of the request attribute providing the absolute path of the
Web Console root (value is "felix.webconsole.appRoot").
|
static java.lang.String |
ATTR_CONFIGURATION
The name of the request attribute holding the configuration params
Map
for the request (value is "felix.webconsole.configuration"). |
static java.lang.String |
ATTR_PLUGIN_ROOT
The name of the request attribute providing the absolute path of the
current plugin (value is "felix.webconsole.pluginRoot").
|
static java.lang.String |
PLUGIN_CATEGORY
The category under which the servlet is listed in the top
navigation by the web console (value is "felix.webconsole.category").
|
static java.lang.String |
PLUGIN_CSS_REFERENCES
The name of the service registration properties providing references
to addition CSS files that should be loaded when rendering the header
for a registered plugin.
|
static java.lang.String |
PLUGIN_LABEL
The URI address label under which the servlet is called by
the web console (value is "felix.webconsole.label").
|
static java.lang.String |
PLUGIN_TITLE
The title under which the servlet is called by
the web console (value is "felix.webconsole.title").
|
Constructor and Description |
---|
ServletConstants() |
public static final java.lang.String PLUGIN_LABEL
This service registration property must be set to a single non-empty String value. Otherwise the Servlet services will be ignored by the web console and not be used as a plugin.
public static final java.lang.String PLUGIN_TITLE
This property is required for the service to be used as a plugin. Otherwise the service is just ignored by the web console.
public static final java.lang.String PLUGIN_CATEGORY
If not specified, the servlet is put into the default category.
public static final java.lang.String PLUGIN_CSS_REFERENCES
This property is expected to be a single string value, array of string values or a Collection (or Vector) of string values.
public static final java.lang.String ATTR_APP_ROOT
HttpServletRequest.getContextPath()
)
and the Web Console servlet path (from
HttpServletRequest.getServletPath()
,
/system/console
by default).
The type of this request attribute is String
.
public static final java.lang.String ATTR_PLUGIN_ROOT
ServletRequest.getContextPath()
),
the configured path of the web console root (/system/console
by default) and the plugin label PLUGIN_LABEL
.
The type of this request attribute is String
.
public static final java.lang.String ATTR_CONFIGURATION
Map
for the request (value is "felix.webconsole.configuration").
The type of this request attribute is Map<String, Object>
.
This map contains the web console configuration params managed by the web console. It can be used to access to the configuration values while processing requests.
Copyright © 2010 - 2023 Adobe. All Rights Reserved