Class TomcatSettings
java.lang.Object
org.apache.juneau.microservice.tomcat.TomcatSettings
Programmatic settings for the embedded Tomcat server contributed by
TomcatConfiguration.
Users who need to override the defaults pulled from null on this settings bean falls back to the corresponding
Example:
See Also:
- Since:
- 10.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TomcatSettings.Buildercreate()Creates a new builder for this object.Returns the Catalina base directory to use when building the Tomcat server.int[]getPorts()Returns the candidate ports to try when binding the Tomcat server, in priority order.Returns the settle delay applied between flipping the readiness probe out of service and stopping the connector.Returns the bounded graceful-shutdown drain timeout for the Tomcat server.
-
Method Details
-
create
Creates a new builder for this object.- Returns:
- A new builder.
-
getPorts
Returns the candidate ports to try when binding the Tomcat server, in priority order.- Returns:
- The ports, or
null if not set.
-
getBaseDir
Returns the Catalina base directory to use when building the Tomcat server.- Returns:
- The base directory path, or
null if not set (an auto-created temp directory is used).
-
getStopTimeout
Returns the bounded graceful-shutdown drain timeout for the Tomcat server.- Returns:
- The drain timeout, or
null if not set.
-
getShutdownSettleDelay
Returns the settle delay applied between flipping the readiness probe out of service and stopping the connector.- Returns:
- The settle delay, or
null if not set.
-