public interface ConfigurableJettyWebServerFactory
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.
|
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 © 2018 Pivotal Software, Inc.. All rights reserved.