public interface ConfigurableJettyWebServerFactory extends ConfigurableWebServerFactory
ConfigurableWebServerFactory
for Jetty-specific features.JettyServletWebServerFactory
,
JettyReactiveWebServerFactory
Modifier and Type | Method and Description |
---|---|
void |
addServerCustomizers(JettyServerCustomizer... customizers)
Add
JettyServerCustomizer s that will be applied to the Server
before it is started. |
void |
setAcceptors(int acceptors)
Set the number of acceptor threads to use.
|
void |
setSelectors(int selectors)
Set the number of selector threads to use.
|
void |
setUseForwardHeaders(boolean useForwardHeaders)
Set if x-forward-* headers should be processed.
|
setAddress, setCompression, setErrorPages, setHttp2, setPort, setServerHeader, setSsl, setSslStoreProvider
addErrorPages
void setAcceptors(int acceptors)
acceptors
- the number of acceptor threads to usevoid setSelectors(int selectors)
selectors
- the number of selector threads to usevoid setUseForwardHeaders(boolean useForwardHeaders)
useForwardHeaders
- if x-forward headers should be usedvoid addServerCustomizers(JettyServerCustomizer... customizers)
JettyServerCustomizer
s that will be applied to the Server
before it is started.customizers
- the customizers to addCopyright © 2021 Pivotal Software, Inc.. All rights reserved.