Class ServletConstants
- java.lang.Object
-
- org.apache.felix.webconsole.servlet.ServletConstants
-
public abstract class ServletConstants extends java.lang.Object
Constants for servlets registered with the web console.
-
-
Field Summary
Fields Modifier and Type Field 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 paramsMap
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 Summary
Constructors Constructor Description ServletConstants()
-
-
-
Field Detail
-
PLUGIN_LABEL
public static final java.lang.String PLUGIN_LABEL
The URI address label under which the servlet is called by the web console (value is "felix.webconsole.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.
- See Also:
- Constant Field Values
-
PLUGIN_TITLE
public static final java.lang.String PLUGIN_TITLE
The title under which the servlet is called by the web console (value is "felix.webconsole.title").This property is required for the service to be used as a plugin. Otherwise the service is just ignored by the web console.
- See Also:
- Constant Field Values
-
PLUGIN_CATEGORY
public static final 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").If not specified, the servlet is put into the default category.
- See Also:
- Constant Field Values
-
PLUGIN_CSS_REFERENCES
public static final 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.This property is expected to be a single string value, array of string values or a Collection (or Vector) of string values.
- See Also:
- Constant Field Values
-
ATTR_APP_ROOT
public static final 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"). This consists of the servlet context path (fromHttpServletRequest.getContextPath()
) and the Web Console servlet path (fromHttpServletRequest.getServletPath()
,/system/console
by default).The type of this request attribute is
String
.- See Also:
- Constant Field Values
-
ATTR_PLUGIN_ROOT
public static final 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"). This consists of the servlet context path (fromServletRequest.getContextPath()
), the configured path of the web console root (/system/console
by default) and the plugin labelPLUGIN_LABEL
.The type of this request attribute is
String
.- See Also:
- Constant Field Values
-
ATTR_CONFIGURATION
public static final java.lang.String ATTR_CONFIGURATION
The name of the request attribute holding the configuration paramsMap
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.
- See Also:
- Constant Field Values
-
-