org.apache.catalina

Class Globals

public final class Globals extends Object

Global constants that are applicable to multiple packages within Catalina.

Version: $Revision: 708201 $ $Date: 2008-10-27 15:38:32 +0100 (Mon, 27 Oct 2008) $

Author: Craig R. McClanahan

Field Summary
static StringALT_DD_ATTR
The servlet context attribute under which we store the alternate deployment descriptor for this web application
static StringCERTIFICATES_ATTR
The request attribute under which we store the array of X509Certificate objects representing the certificate chain presented by our client, if any.
static StringCIPHER_SUITE_ATTR
The request attribute under which we store the name of the cipher suite being used on an SSL connection (as an object of type java.lang.String).
static StringCLASS_LOADER_ATTR
The servlet context attribute under which we store the class loader used for loading servlets (as an object of type java.lang.ClassLoader).
static StringCLASS_PATH_ATTR
The servlet context attribute under which we store the class path for our application class loader (as an object of type String), delimited with the appropriate path delimiter for this platform.
static StringDISPATCHER_REQUEST_PATH_ATTR
Request dispatcher path.
static StringDISPATCHER_TYPE_ATTR
Request dispatcher state.
static StringERROR_MESSAGE_ATTR
The request attribute under which we forward an HTTP status message (as an object of type STring) to an error page.
static StringEXCEPTION_ATTR
The request attribute under which we forward a Java exception (as an object of type Throwable) to an error page.
static StringEXCEPTION_PAGE_ATTR
The request attribute under which we forward the request URI (as an object of type String) of the page on which an error occurred.
static StringEXCEPTION_TYPE_ATTR
The request attribute under which we forward a Java exception type (as an object of type Class) to an error page.
static StringFORWARD_CONTEXT_PATH_ATTR
The request attribute under which the original context path is stored on an forwarded dispatcher request.
static StringFORWARD_PATH_INFO_ATTR
The request attribute under which the original path info is stored on an forwarded dispatcher request.
static StringFORWARD_QUERY_STRING_ATTR
The request attribute under which the original query string is stored on an forwarded dispatcher request.
static StringFORWARD_REQUEST_URI_ATTR
The request attribute under which the original request URI is stored on an forwarded dispatcher request.
static StringFORWARD_SERVLET_PATH_ATTR
The request attribute under which the original servlet path is stored on an forwarded dispatcher request.
static StringINCLUDE_CONTEXT_PATH_ATTR
The request attribute under which the context path of the included servlet is stored on an included dispatcher request.
static StringINCLUDE_PATH_INFO_ATTR
The request attribute under which the path info of the included servlet is stored on an included dispatcher request.
static StringINCLUDE_QUERY_STRING_ATTR
The request attribute under which the query string of the included servlet is stored on an included dispatcher request.
static StringINCLUDE_REQUEST_URI_ATTR
The request attribute under which the request URI of the included servlet is stored on an included dispatcher request.
static StringINCLUDE_SERVLET_PATH_ATTR
The request attribute under which the servlet path of the included servlet is stored on an included dispatcher request.
static StringINVOKED_ATTR
The request attribute under which the Invoker servlet will store the invoking servlet path, if it was used to execute a servlet indirectly instead of through a servlet mapping.
static booleanIS_SECURITY_ENABLED
Has security been turned on?
static StringJSP_FILE_ATTR
The request attribute under which we expose the value of the <jsp-file> value associated with this servlet, if any.
static StringKEY_SIZE_ATTR
The request attribute under which we store the key size being used for this SSL connection (as an object of type java.lang.Integer).
static StringMBEAN_REGISTRY_ATTR
The servlet context attribute under which the managed bean Registry will be stored for privileged contexts (if enabled).
static StringMBEAN_SERVER_ATTR
The servlet context attribute under which the MBeanServer will be stored for privileged contexts (if enabled).
static StringNAMED_DISPATCHER_ATTR
The request attribute under which we store the servlet name on a named dispatcher request.
static StringRESOURCES_ATTR
The JNDI directory context which is associated with the context.
static StringSERVLET_NAME_ATTR
The request attribute under which we forward a servlet name to an error page.
static StringSESSION_COOKIE_NAME
The name of the cookie used to pass the session identifier back and forth with the client.
static StringSESSION_PARAMETER_NAME
The name of the path parameter used to pass the session identifier back and forth with the client.
static StringSSI_FLAG_ATTR
The servlet context attribute under which we store a flag used to mark this request as having been processed by the SSIServlet.
static StringSSL_SESSION_ID_ATTR
The request attribute under which we store the session id being used for this SSL connection (as an object of type java.lang.String).
static StringSTATUS_CODE_ATTR
The request attribute under which we forward an HTTP status code (as an object of type Integer) to an error page.
static booleanSTRICT_SERVLET_COMPLIANCE
The master flag which controls strict servlet specification compliance.
static StringSUBJECT_ATTR
The subject under which the AccessControlContext is running.
static StringWELCOME_FILES_ATTR
The servlet context attribute under which we record the set of welcome files (as an object of type String[]) for this application.
static StringWORK_DIR_ATTR
The servlet context attribute under which we store a temporary working directory (as an object of type File) for use by servlets within this web application.

Field Detail

ALT_DD_ATTR

public static final String ALT_DD_ATTR
The servlet context attribute under which we store the alternate deployment descriptor for this web application

CERTIFICATES_ATTR

public static final String CERTIFICATES_ATTR
The request attribute under which we store the array of X509Certificate objects representing the certificate chain presented by our client, if any.

CIPHER_SUITE_ATTR

public static final String CIPHER_SUITE_ATTR
The request attribute under which we store the name of the cipher suite being used on an SSL connection (as an object of type java.lang.String).

CLASS_LOADER_ATTR

public static final String CLASS_LOADER_ATTR
The servlet context attribute under which we store the class loader used for loading servlets (as an object of type java.lang.ClassLoader).

CLASS_PATH_ATTR

public static final String CLASS_PATH_ATTR
The servlet context attribute under which we store the class path for our application class loader (as an object of type String), delimited with the appropriate path delimiter for this platform.

DISPATCHER_REQUEST_PATH_ATTR

public static final String DISPATCHER_REQUEST_PATH_ATTR
Request dispatcher path.

DISPATCHER_TYPE_ATTR

public static final String DISPATCHER_TYPE_ATTR
Request dispatcher state.

ERROR_MESSAGE_ATTR

public static final String ERROR_MESSAGE_ATTR
The request attribute under which we forward an HTTP status message (as an object of type STring) to an error page.

EXCEPTION_ATTR

public static final String EXCEPTION_ATTR
The request attribute under which we forward a Java exception (as an object of type Throwable) to an error page.

EXCEPTION_PAGE_ATTR

public static final String EXCEPTION_PAGE_ATTR
The request attribute under which we forward the request URI (as an object of type String) of the page on which an error occurred.

EXCEPTION_TYPE_ATTR

public static final String EXCEPTION_TYPE_ATTR
The request attribute under which we forward a Java exception type (as an object of type Class) to an error page.

FORWARD_CONTEXT_PATH_ATTR

public static final String FORWARD_CONTEXT_PATH_ATTR
The request attribute under which the original context path is stored on an forwarded dispatcher request.

FORWARD_PATH_INFO_ATTR

public static final String FORWARD_PATH_INFO_ATTR
The request attribute under which the original path info is stored on an forwarded dispatcher request.

FORWARD_QUERY_STRING_ATTR

public static final String FORWARD_QUERY_STRING_ATTR
The request attribute under which the original query string is stored on an forwarded dispatcher request.

FORWARD_REQUEST_URI_ATTR

public static final String FORWARD_REQUEST_URI_ATTR
The request attribute under which the original request URI is stored on an forwarded dispatcher request.

FORWARD_SERVLET_PATH_ATTR

public static final String FORWARD_SERVLET_PATH_ATTR
The request attribute under which the original servlet path is stored on an forwarded dispatcher request.

INCLUDE_CONTEXT_PATH_ATTR

public static final String INCLUDE_CONTEXT_PATH_ATTR
The request attribute under which the context path of the included servlet is stored on an included dispatcher request.

INCLUDE_PATH_INFO_ATTR

public static final String INCLUDE_PATH_INFO_ATTR
The request attribute under which the path info of the included servlet is stored on an included dispatcher request.

INCLUDE_QUERY_STRING_ATTR

public static final String INCLUDE_QUERY_STRING_ATTR
The request attribute under which the query string of the included servlet is stored on an included dispatcher request.

INCLUDE_REQUEST_URI_ATTR

public static final String INCLUDE_REQUEST_URI_ATTR
The request attribute under which the request URI of the included servlet is stored on an included dispatcher request.

INCLUDE_SERVLET_PATH_ATTR

public static final String INCLUDE_SERVLET_PATH_ATTR
The request attribute under which the servlet path of the included servlet is stored on an included dispatcher request.

INVOKED_ATTR

public static final String INVOKED_ATTR
The request attribute under which the Invoker servlet will store the invoking servlet path, if it was used to execute a servlet indirectly instead of through a servlet mapping.

IS_SECURITY_ENABLED

public static final boolean IS_SECURITY_ENABLED
Has security been turned on?

JSP_FILE_ATTR

public static final String JSP_FILE_ATTR
The request attribute under which we expose the value of the <jsp-file> value associated with this servlet, if any.

KEY_SIZE_ATTR

public static final String KEY_SIZE_ATTR
The request attribute under which we store the key size being used for this SSL connection (as an object of type java.lang.Integer).

MBEAN_REGISTRY_ATTR

public static final String MBEAN_REGISTRY_ATTR
The servlet context attribute under which the managed bean Registry will be stored for privileged contexts (if enabled).

MBEAN_SERVER_ATTR

public static final String MBEAN_SERVER_ATTR
The servlet context attribute under which the MBeanServer will be stored for privileged contexts (if enabled).

NAMED_DISPATCHER_ATTR

public static final String NAMED_DISPATCHER_ATTR
The request attribute under which we store the servlet name on a named dispatcher request.

RESOURCES_ATTR

public static final String RESOURCES_ATTR
The JNDI directory context which is associated with the context. This context can be used to manipulate static files.

SERVLET_NAME_ATTR

public static final String SERVLET_NAME_ATTR
The request attribute under which we forward a servlet name to an error page.

SESSION_COOKIE_NAME

public static final String SESSION_COOKIE_NAME
The name of the cookie used to pass the session identifier back and forth with the client.

SESSION_PARAMETER_NAME

public static final String SESSION_PARAMETER_NAME
The name of the path parameter used to pass the session identifier back and forth with the client.

SSI_FLAG_ATTR

public static final String SSI_FLAG_ATTR
The servlet context attribute under which we store a flag used to mark this request as having been processed by the SSIServlet. We do this because of the pathInfo mangling happening when using the CGIServlet in conjunction with the SSI servlet. (value stored as an object of type String)

SSL_SESSION_ID_ATTR

public static final String SSL_SESSION_ID_ATTR
The request attribute under which we store the session id being used for this SSL connection (as an object of type java.lang.String).

STATUS_CODE_ATTR

public static final String STATUS_CODE_ATTR
The request attribute under which we forward an HTTP status code (as an object of type Integer) to an error page.

STRICT_SERVLET_COMPLIANCE

public static final boolean STRICT_SERVLET_COMPLIANCE
The master flag which controls strict servlet specification compliance.

SUBJECT_ATTR

public static final String SUBJECT_ATTR
The subject under which the AccessControlContext is running.

WELCOME_FILES_ATTR

public static final String WELCOME_FILES_ATTR
The servlet context attribute under which we record the set of welcome files (as an object of type String[]) for this application.

WORK_DIR_ATTR

public static final String WORK_DIR_ATTR
The servlet context attribute under which we store a temporary working directory (as an object of type File) for use by servlets within this web application.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.