Class AbstractJettyServiceBuilder
java.lang.Object
com.linecorp.armeria.server.jetty.AbstractJettyServiceBuilder
- Direct Known Subclasses:
JettyServiceBuilder
A skeletal builder implementation for
JettyServiceBuilder
in Jetty 9 and Jetty 10+ modules.-
Method Summary
Modifier and TypeMethodDescriptionPuts the specified attribute into the JettyServer
.Adds the specified bean to the JettyServer
.Adds the specified bean to the JettyServer
.configurator
(Consumer<? super Server> configurator) Deprecated.customizer
(Consumer<? super Server> customizer) Adds aConsumer
that performs additional configuration operations against the JettyServer
created by aJettyService
.dumpAfterStart
(boolean dumpAfterStart) Sets whether the JettyServer
needs to dump its configuration after it started up.dumpBeforeStop
(boolean dumpBeforeStop) Sets whether the JettyServer
needs to dump its configuration before it shuts down.Sets the default hostname of the JettyServer
.httpConfiguration
(HttpConfiguration httpConfiguration) Adds the specifiedHttpConfiguration
to the JettyServer
.requestLog
(RequestLog requestLog) Sets theRequestLog
of the JettyServer
.stopTimeoutMillis
(long stopTimeoutMillis) Sets the graceful stop time of theAbstractLifeCycle.stop()
in milliseconds.
-
Method Details
-
hostname
Sets the default hostname of the JettyServer
. -
attr
Puts the specified attribute into the JettyServer
.- See Also:
-
bean
Adds the specified bean to the JettyServer
.- See Also:
-
bean
Adds the specified bean to the JettyServer
.- See Also:
-
dumpAfterStart
Sets whether the JettyServer
needs to dump its configuration after it started up.- See Also:
-
dumpBeforeStop
Sets whether the JettyServer
needs to dump its configuration before it shuts down.- See Also:
-
handler
- See Also:
-
httpConfiguration
Adds the specifiedHttpConfiguration
to the JettyServer
. This method is a type-safe alias ofbean(Object)
. -
requestLog
Sets theRequestLog
of the JettyServer
.- See Also:
-
stopTimeoutMillis
Sets the graceful stop time of theAbstractLifeCycle.stop()
in milliseconds.- See Also:
-
customizer
Adds aConsumer
that performs additional configuration operations against the JettyServer
created by aJettyService
. -
configurator
Deprecated.Usecustomizer(Consumer)
.Adds aConsumer
that performs additional configuration operations against the JettyServer
created by aJettyService
.
-
customizer(Consumer)
.