Interface TomcatPropertySet
-
public interface TomcatPropertySetGathers all Tomcat properties.
-
-
Field Summary
Fields Modifier and Type Field Description static StringAJP_PORTPort tomcat will listen on for AJP 1.3 requests.static StringCONNECTOR_EMPTY_SESSION_PATHThe boolean value for the empty session path connector property.static StringCONNECTOR_HTTP_UPGRADE_PROTOCOLTo enable HTTP/2 support for an HTTP connector.static StringCONNECTOR_KEY_STORE_FILEThe file path for the key store file.static StringCONNECTOR_KEY_STORE_PASSWORDThe password for the server key store.static StringCONNECTOR_KEY_STORE_TYPEThe type of the key store file.static StringCONNECTOR_MAX_HTTP_HEADER_SIZEThe maximum HTTP header size.static StringCONNECTOR_MAX_PART_COUNTThe maximum Part count.static StringCONNECTOR_PROTOCOL_CLASSThe HTTP protocol class.static StringCONTEXT_ALLOW_MULTIPARTWhether the contexts for deployed Web applications should allow multipart parsing.static StringCONTEXT_ALLOW_WEB_JARSWhether the contexts for deployed webapplications should allow webjars supportstatic StringCONTEXT_MAP_JARS_TO_WEBINF_CLASSESWhether the contexts for deployed web applications should map JARs toWEB-INF/classes.static StringCONTEXT_RELOADABLEWhether the contexts for deployed Web applications should be set as reloadable.static StringCOPY_WARSWhether WAR deployables should be copied or referenced.static StringCUSTOM_VALVECustom valves defined as properties separated by|
Maven example:
<cargo.tomcat.valve.stuckthread>
className=org.apache.catalina.valves.StuckThreadDetectionValve|
threshold=60
</cargo.tomcat.valve.stuckthread>static StringDEPLOY_UPDATETomcat Manager update parameter when doing a deploy.static StringEMBEDDED_OVERRIDE_JAVA_LOGGINGWhether to override the Java logging in the embedded container.static StringHOST_START_STOP_THREADSNumber of threads the host will use to start context elements in parallel.static StringUNDEPLOY_ALL_VERSIONSTomcat Manager update parameter when doing an undeploy.static StringURI_ENCODINGURI Encoding to set.static StringUSE_HTTP_ONLYWhether to use use http only.static StringWEBAPPS_DIRECTORYThewebappsdirectory of Tomcat.static StringWEBAPPS_LEGACY_DIRECTORYThewebapps-javaeedirectory of Tomcat, which with Toncat 10.x onwards is used for storing legacy J2EE and Java EE applications which Tomcat transforms to Jakarta EE before deployment.
-
-
-
Field Detail
-
CONNECTOR_EMPTY_SESSION_PATH
static final String CONNECTOR_EMPTY_SESSION_PATH
The boolean value for the empty session path connector property.- See Also:
- Constant Field Values
-
URI_ENCODING
static final String URI_ENCODING
URI Encoding to set.- See Also:
- Constant Field Values
-
AJP_PORT
static final String AJP_PORT
Port tomcat will listen on for AJP 1.3 requests.- See Also:
- Constant Field Values
-
CONTEXT_RELOADABLE
static final String CONTEXT_RELOADABLE
Whether the contexts for deployed Web applications should be set as reloadable.- See Also:
- Constant Field Values
-
CONTEXT_ALLOW_MULTIPART
static final String CONTEXT_ALLOW_MULTIPART
Whether the contexts for deployed Web applications should allow multipart parsing.- See Also:
- Constant Field Values
-
CONTEXT_ALLOW_WEB_JARS
static final String CONTEXT_ALLOW_WEB_JARS
Whether the contexts for deployed webapplications should allow webjars support- See Also:
- Constant Field Values
-
CONTEXT_MAP_JARS_TO_WEBINF_CLASSES
static final String CONTEXT_MAP_JARS_TO_WEBINF_CLASSES
Whether the contexts for deployed web applications should map JARs toWEB-INF/classes. Refer to the Ordering chapter of the Tomcat 8.0 Configuration Guide for more details.- See Also:
- Constant Field Values
-
COPY_WARS
static final String COPY_WARS
Whether WAR deployables should be copied or referenced.- See Also:
- Constant Field Values
-
WEBAPPS_DIRECTORY
static final String WEBAPPS_DIRECTORY
Thewebappsdirectory of Tomcat.- See Also:
- Constant Field Values
-
WEBAPPS_LEGACY_DIRECTORY
static final String WEBAPPS_LEGACY_DIRECTORY
Thewebapps-javaeedirectory of Tomcat, which with Toncat 10.x onwards is used for storing legacy J2EE and Java EE applications which Tomcat transforms to Jakarta EE before deployment.- See Also:
- Constant Field Values
-
HOST_START_STOP_THREADS
static final String HOST_START_STOP_THREADS
Number of threads the host will use to start context elements in parallel.- See Also:
- Constant Field Values
-
USE_HTTP_ONLY
static final String USE_HTTP_ONLY
Whether to use use http only.- See Also:
- Constant Field Values
-
CONNECTOR_PROTOCOL_CLASS
static final String CONNECTOR_PROTOCOL_CLASS
The HTTP protocol class.- See Also:
- Constant Field Values
-
CONNECTOR_KEY_STORE_FILE
static final String CONNECTOR_KEY_STORE_FILE
The file path for the key store file.- See Also:
- Constant Field Values
-
CONNECTOR_KEY_STORE_PASSWORD
static final String CONNECTOR_KEY_STORE_PASSWORD
The password for the server key store.- See Also:
- Constant Field Values
-
CONNECTOR_KEY_STORE_TYPE
static final String CONNECTOR_KEY_STORE_TYPE
The type of the key store file.- See Also:
- Constant Field Values
-
CONNECTOR_HTTP_UPGRADE_PROTOCOL
static final String CONNECTOR_HTTP_UPGRADE_PROTOCOL
To enable HTTP/2 support for an HTTP connector.- See Also:
- Constant Field Values
-
CONNECTOR_MAX_HTTP_HEADER_SIZE
static final String CONNECTOR_MAX_HTTP_HEADER_SIZE
The maximum HTTP header size.- See Also:
- Constant Field Values
-
CONNECTOR_MAX_PART_COUNT
static final String CONNECTOR_MAX_PART_COUNT
The maximum Part count. This property is only supported by Tomcat starting from version 9.0.106, 10.1.43 and 11.0.8. Older 9.x, 10.x and 11.x versions might act weird when this property is set.- See Also:
- Constant Field Values
-
CUSTOM_VALVE
static final String CUSTOM_VALVE
Custom valves defined as properties separated by|
Maven example:
<cargo.tomcat.valve.stuckthread>
className=org.apache.catalina.valves.StuckThreadDetectionValve|
threshold=60
</cargo.tomcat.valve.stuckthread>- See Also:
- Constant Field Values
-
DEPLOY_UPDATE
static final String DEPLOY_UPDATE
Tomcat Manager update parameter when doing a deploy. Setting to true allows deploy without doing an explicit undeploy of existing web-app first.- See Also:
- Constant Field Values
-
UNDEPLOY_ALL_VERSIONS
static final String UNDEPLOY_ALL_VERSIONS
Tomcat Manager update parameter when doing an undeploy. Setting to true removes all versions when undeploying.- See Also:
- Constant Field Values
-
EMBEDDED_OVERRIDE_JAVA_LOGGING
static final String EMBEDDED_OVERRIDE_JAVA_LOGGING
Whether to override the Java logging in the embedded container.- See Also:
- Constant Field Values
-
-