FileDocCategorySizeDatePackage
Globals.javaAPI DocApache Tomcat 6.0.1411055Fri Jul 20 04:20:34 BST 2007org.apache.catalina

Globals

public final class Globals extends Object
Global constants that are applicable to multiple packages within Catalina.
author
Craig R. McClanahan
version
$Revision: 505593 $ $Date: 2007-02-10 01:54:56 +0100 (sam., 10 févr. 2007) $

Fields Summary
public static final String
ALT_DD_ATTR
The servlet context attribute under which we store the alternate deployment descriptor for this web application
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.
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).
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).
public static final String
DISPATCHER_TYPE_ATTR
Request dispatcher state.
public static final String
DISPATCHER_REQUEST_PATH_ATTR
Request dispatcher path.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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).
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).
public static final String
MBEAN_SERVER_ATTR
The servlet context attribute under which the MBeanServer will be stored for privileged contexts (if enabled).
public static final String
NAMED_DISPATCHER_ATTR
The request attribute under which we store the servlet name on a named dispatcher request.
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.
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.
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.
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.
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.
public static final String
FORWARD_REQUEST_URI_ATTR
The request attribute under which the original request URI is stored on an forwarded dispatcher request.
public static final String
FORWARD_CONTEXT_PATH_ATTR
The request attribute under which the original context path is stored on an forwarded dispatcher request.
public static final String
FORWARD_PATH_INFO_ATTR
The request attribute under which the original path info is stored on an forwarded dispatcher request.
public static final String
FORWARD_SERVLET_PATH_ATTR
The request attribute under which the original servlet path is stored on an forwarded dispatcher request.
public static final String
FORWARD_QUERY_STRING_ATTR
The request attribute under which the original query string is stored on an forwarded dispatcher request.
public static final String
SERVLET_NAME_ATTR
The request attribute under which we forward a servlet name to an error page.
public static final String
SESSION_COOKIE_NAME
The name of the cookie used to pass the session identifier back and forth with the client.
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.
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)
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.
public static final String
SUBJECT_ATTR
The subject under which the AccessControlContext is running.
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.
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.
public static final boolean
STRICT_SERVLET_COMPLIANCE
The master flag which controls strict servlet specification compliance.
public static final boolean
IS_SECURITY_ENABLED
Has security been turned on?
Constructors Summary
Methods Summary