Class JettySettings
java.lang.Object
org.apache.juneau.microservice.jetty.JettySettings
Programmatic settings for the Jetty server contributed by
JettyConfiguration.
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 JettySettings.Buildercreate()Creates a new builder for this object.Returns the rawjetty.xml contents to use when building the server.Returns whether SVL variables in thejetty.xml file should be resolved.int[]getPorts()Returns the candidate ports to try when binding the Jetty 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 Jetty 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 Jetty server, in priority order.- Returns:
- The ports, or
null if not set.
-
getJettyXml
Returns the rawjetty.xml contents to use when building the server.- Returns:
- The XML contents, or
null if not set.
-
getJettyXmlResolveVars
Returns whether SVL variables in thejetty.xml file should be resolved.- Returns:
- The resolve-vars flag, or
null if not set.
-
getStopTimeout
Returns the bounded graceful-shutdown drain timeout for the Jetty 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.
-