Apache Tomcat 7.0.0

org.apache.catalina
Class Globals

java.lang.Object
  extended by org.apache.catalina.Globals

public final class Globals
extends Object

Global constants that are applicable to multiple packages within Catalina.

Version:
$Id: Globals.java 944920 2010-05-16 21:47:26Z markt $
Author:
Craig R. McClanahan

Field Summary
static String ALT_DD_ATTR
          The servlet context attribute under which we store the alternate deployment descriptor for this web application
static String ASYNC_SUPPORTED_ATTR
           
static 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.
static 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).
static 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).
static 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.
static String DEFAULT_MBEAN_DOMAIN
          Default domain for MBeans if none can be determined
static String DISPATCHER_REQUEST_PATH_ATTR
          Request dispatcher path.
static String DISPATCHER_TYPE_ATTR
          Request dispatcher state.
static 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.
static String EXCEPTION_ATTR
          The request attribute under which we forward a Java exception (as an object of type Throwable) to an error page.
static 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.
static 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.
static String FORWARD_CONTEXT_PATH_ATTR
          The request attribute under which the original context path is stored on an forwarded dispatcher request.
static String FORWARD_PATH_INFO_ATTR
          The request attribute under which the original path info is stored on an forwarded dispatcher request.
static String FORWARD_QUERY_STRING_ATTR
          The request attribute under which the original query string is stored on an forwarded dispatcher request.
static String FORWARD_REQUEST_URI_ATTR
          The request attribute under which the original request URI is stored on an forwarded dispatcher request.
static String FORWARD_SERVLET_PATH_ATTR
          The request attribute under which the original servlet path is stored on an forwarded dispatcher request.
static String INCLUDE_CONTEXT_PATH_ATTR
          The request attribute under which the context path of the included servlet is stored on an included dispatcher request.
static String INCLUDE_PATH_INFO_ATTR
          The request attribute under which the path info of the included servlet is stored on an included dispatcher request.
static String INCLUDE_QUERY_STRING_ATTR
          The request attribute under which the query string of the included servlet is stored on an included dispatcher request.
static String INCLUDE_REQUEST_URI_ATTR
          The request attribute under which the request URI of the included servlet is stored on an included dispatcher request.
static String INCLUDE_SERVLET_PATH_ATTR
          The request attribute under which the servlet path of the included servlet is stored on an included dispatcher request.
static boolean IS_SECURITY_ENABLED
          Has security been turned on?
static String JSP_FILE_ATTR
          The request attribute under which we expose the value of the <jsp-file> value associated with this servlet, if any.
static 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).
static String MBEAN_REGISTRY_ATTR
          The servlet context attribute under which the managed bean Registry will be stored for privileged contexts (if enabled).
static String MBEAN_SERVER_ATTR
          The servlet context attribute under which the MBeanServer will be stored for privileged contexts (if enabled).
static String NAMED_DISPATCHER_ATTR
          The request attribute under which we store the servlet name on a named dispatcher request.
static String RESOURCES_ATTR
          The JNDI directory context which is associated with the context.
static String SERVLET_NAME_ATTR
          The request attribute under which we forward a servlet name to an error page.
static 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.
static 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).
static String SSL_SESSION_MGR_ATTR
          The request attribute key for the session manager.
static 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.
static boolean STRICT_SERVLET_COMPLIANCE
          The master flag which controls strict servlet specification compliance.
static String SUBJECT_ATTR
          The subject under which the AccessControlContext is running.
static 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.
 
Constructor Summary
Globals()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

DISPATCHER_TYPE_ATTR

public static final String DISPATCHER_TYPE_ATTR
Request dispatcher state.

See Also:
Constant Field Values

DISPATCHER_REQUEST_PATH_ATTR

public static final String DISPATCHER_REQUEST_PATH_ATTR
Request dispatcher path.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

SSL_SESSION_MGR_ATTR

public static final String SSL_SESSION_MGR_ATTR
The request attribute key for the session manager. This one is a Tomcat extension to the Servlet spec.

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

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).

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

SERVLET_NAME_ATTR

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

See Also:
Constant Field Values

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)

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

SUBJECT_ATTR

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

STRICT_SERVLET_COMPLIANCE

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


IS_SECURITY_ENABLED

public static final boolean IS_SECURITY_ENABLED
Has security been turned on?


ASYNC_SUPPORTED_ATTR

public static final String ASYNC_SUPPORTED_ATTR
See Also:
Constant Field Values

DEFAULT_MBEAN_DOMAIN

public static final String DEFAULT_MBEAN_DOMAIN
Default domain for MBeans if none can be determined

See Also:
Constant Field Values
Constructor Detail

Globals

public Globals()

Apache Tomcat 7.0.0

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.