public final class Globals extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | ALT_DD_ATTRThe servlet context attribute under which we store the alternate
 deployment descriptor for this web application | 
| static String | ASYNC_SUPPORTED_ATTR | 
| static String | CATALINA_BASE_PROPName of the system property containing
 the tomcat instance installation path | 
| static String | CATALINA_HOME_PROPName of the system property containing
 the tomcat product installation path | 
| static String | CERTIFICATES_ATTRThe 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_ATTRThe 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_PATH_ATTRThe 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 | COMET_SUPPORTED_ATTRThe request attribute that is set to the value of  Boolean.TRUEif connector processing this request supports Comet API. | 
| static String | COMET_TIMEOUT_ATTRThe request attribute that can be set to a value of type
  java.lang.Integerto specify per-connection request
 timeout for Comet API. | 
| static String | COMET_TIMEOUT_SUPPORTED_ATTRThe request attribute that is set to the value of  Boolean.TRUEif connector processing this request supports setting
 per-connection request timeout through Comet API. | 
| static String | DEFAULT_MBEAN_DOMAINDefault domain for MBeans if none can be determined | 
| static String | DISPATCHER_REQUEST_PATH_ATTRRequest dispatcher path. | 
| static String | DISPATCHER_TYPE_ATTRRequest dispatcher state. | 
| static String | GSS_CREDENTIAL_ATTR | 
| static boolean | IS_IBM_JVMDeprecated.  | 
| static boolean | IS_ORACLE_JVMDeprecated.  | 
| static boolean | IS_SECURITY_ENABLEDHas security been turned on? | 
| static String | JASPER_XML_BLOCK_EXTERNAL_INIT_PARAMName of the ServletContext init-param that determines if the JSP engine
 will block external entities from being used in *.tld, *.jspx, *.tagx and
 tagplugin.xml files. | 
| static String | JASPER_XML_VALIDATION_INIT_PARAMName of the ServletContext init-param that determines if the JSP engine
 should validate web.xml files when parsing them. | 
| static String | JASPER_XML_VALIDATION_TLD_INIT_PARAMName of the ServletContext init-param that determines if the JSP engine
 should validate *.tld files when parsing them. | 
| static String | KEY_SIZE_ATTRThe 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_ATTRDeprecated. 
 Unused. Will be removed in Tomcat 8.0.x. | 
| static String | MBEAN_SERVER_ATTRDeprecated. 
 Unused. Will be removed in Tomcat 8.0.x. | 
| static String | NAMED_DISPATCHER_ATTRThe request attribute under which we store the servlet name on a
 named dispatcher request. | 
| static String | PARAMETER_PARSE_FAILED_ATTRThe request attribute that is set to  Boolean.TRUEif some request
 parameters have been ignored during request parameters parsing. | 
| static String | PARAMETER_PARSE_FAILED_REASON_ATTRThe reason that the parameter parsing failed. | 
| static String | REMOTE_ADDR_ATTRIBUTEThe request attribute set by the RemoteIpFilter, RemoteIpValve (and may
 be set by other similar components) that identifies for the connector the
 remote IP address claimed to be associated with this request when a
 request is received via one or more proxies. | 
| static String | REQUEST_FORWARDED_ATTRIBUTEThe request attribute that is set to the value of  Boolean.TRUEby the RemoteIpFilter, RemoteIpValve (and other similar components) that identifies
 a request which been forwarded via one or more proxies. | 
| static String | RESOURCES_ATTRThe JNDI directory context which is associated with the context. | 
| static String | SENDFILE_FILE_END_ATTRThe request attribute that can be used by a servlet to pass
 to the connector the end offset (not including) of the part
 of a file that is to be served by sendfile. | 
| static String | SENDFILE_FILE_START_ATTRThe request attribute that can be used by a servlet to pass
 to the connector the start offset of the part of a file
 that is to be served by sendfile. | 
| static String | SENDFILE_FILENAME_ATTRThe request attribute that can be used by a servlet to pass
 to the connector the name of the file that is to be served
 by sendfile. | 
| static String | SENDFILE_SUPPORTED_ATTRThe request attribute that is set to the value of  Boolean.TRUEif connector processing this request supports use of sendfile. | 
| static String | SSI_FLAG_ATTRDeprecated. 
 Unused. This is no longer used as the CGIO servlet now has
             generic handling for when it is used as an include.
             This will be removed in Tomcat 10 | 
| static String | SSL_SESSION_ID_ATTRThe 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_ID_TOMCAT_ATTRDeprecated.   | 
| static String | SSL_SESSION_MGR_ATTRThe request attribute key for the session manager. | 
| static boolean | STRICT_SERVLET_COMPLIANCEThe master flag which controls strict servlet specification
 compliance. | 
| static String | SUBJECT_ATTRThe subject under which the AccessControlContext is running. | 
| static String | TOMCAT_CONNECTOR_ATTR_PREFIXDeprecated. 
 Unused. Will be removed in Tomcat 8.0.x. | 
| static String | WEBAPP_VERSIONName of the ServletContext attribute under which we store the web
 application version string (the text that appears after ## when parallel
 deployment is used). | 
| Constructor and Description | 
|---|
| Globals() | 
public static final String ALT_DD_ATTR
public static final String CERTIFICATES_ATTR
public static final String CIPHER_SUITE_ATTR
public static final String DISPATCHER_TYPE_ATTR
public static final String DISPATCHER_REQUEST_PATH_ATTR
public static final String RESOURCES_ATTR
public static final String CLASS_PATH_ATTR
public static final String KEY_SIZE_ATTR
public static final String SSL_SESSION_ID_ATTR
@Deprecated public static final String SSL_SESSION_ID_TOMCAT_ATTR
public static final String SSL_SESSION_MGR_ATTR
@Deprecated public static final String MBEAN_REGISTRY_ATTR
@Deprecated public static final String MBEAN_SERVER_ATTR
public static final String NAMED_DISPATCHER_ATTR
@Deprecated public static final String SSI_FLAG_ATTR
public static final String SUBJECT_ATTR
public static final String GSS_CREDENTIAL_ATTR
@Deprecated public static final String TOMCAT_CONNECTOR_ATTR_PREFIX
Request.setAttribute(String, Object).public static final String COMET_SUPPORTED_ATTR
Boolean.TRUE
 if connector processing this request supports Comet API.
 Duplicated here for neater code in the catalina packages.public static final String COMET_TIMEOUT_SUPPORTED_ATTR
Boolean.TRUE
 if connector processing this request supports setting
 per-connection request timeout through Comet API.public static final String COMET_TIMEOUT_ATTR
java.lang.Integer to specify per-connection request
 timeout for Comet API. The value is in milliseconds.public static final String SENDFILE_SUPPORTED_ATTR
Boolean.TRUE
 if connector processing this request supports use of sendfile.
 Duplicated here for neater code in the catalina packages.public static final String SENDFILE_FILENAME_ATTR
java.lang.String
 that is File.getCanonicalPath() of the file to be served.
 Duplicated here for neater code in the catalina packages.public static final String SENDFILE_FILE_START_ATTR
java.lang.Long. To serve complete file
 the value should be Long.valueOf(0).
 Duplicated here for neater code in the catalina packages.public static final String SENDFILE_FILE_END_ATTR
java.lang.Long. To serve complete file
 the value should be equal to the length of the file.
 Duplicated here for neater code in the catalina packages.public static final String REMOTE_ADDR_ATTRIBUTE
public static final String REQUEST_FORWARDED_ATTRIBUTE
Boolean.TRUE
 by the RemoteIpFilter, RemoteIpValve (and other similar components) that identifies
 a request which been forwarded via one or more proxies.public static final String ASYNC_SUPPORTED_ATTR
public static final String PARAMETER_PARSE_FAILED_ATTR
Boolean.TRUE if some request
 parameters have been ignored during request parameters parsing. It can
 happen, for example, if there is a limit on the total count of parseable
 parameters, or if parameter cannot be decoded, or any other error
 happened during parameter parsing.public static final String PARAMETER_PARSE_FAILED_REASON_ATTR
public static final boolean STRICT_SERVLET_COMPLIANCE
public static final boolean IS_SECURITY_ENABLED
public static final String DEFAULT_MBEAN_DOMAIN
public static final String CATALINA_HOME_PROP
public static final String CATALINA_BASE_PROP
public static final String JASPER_XML_VALIDATION_TLD_INIT_PARAM
This must be kept in sync with org.apache.jasper.Constants
public static final String JASPER_XML_VALIDATION_INIT_PARAM
This must be kept in sync with org.apache.jasper.Constants
public static final String JASPER_XML_BLOCK_EXTERNAL_INIT_PARAM
This must be kept in sync with org.apache.jasper.Constants
public static final String WEBAPP_VERSION
@Deprecated public static final boolean IS_ORACLE_JVM
@Deprecated public static final boolean IS_IBM_JVM
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.