public interface ConfigurableUndertowWebServerFactory extends ConfigurableWebServerFactory
ConfigurableWebServerFactory
for Undertow-specific features.UndertowServletWebServerFactory
,
UndertowReactiveWebServerFactory
Modifier and Type | Method and Description |
---|---|
void |
addBuilderCustomizers(UndertowBuilderCustomizer... customizers)
Add
UndertowBuilderCustomizer s that should be used to customize the
Undertow Undertow.Builder . |
void |
addDeploymentInfoCustomizers(UndertowDeploymentInfoCustomizer... customizers)
Deprecated.
since 2.1.7 in favor of
UndertowServletWebServerFactory.addDeploymentInfoCustomizers(UndertowDeploymentInfoCustomizer...)
as UndertowReactiveWebServerFactory does not create a
DeploymentInfo |
void |
setAccessLogDirectory(File accessLogDirectory)
Set the access log directory.
|
void |
setAccessLogEnabled(boolean accessLogEnabled)
Set whether access logs are enabled.
|
void |
setAccessLogPattern(String accessLogPattern)
Set the access log pattern.
|
void |
setAccessLogPrefix(String accessLogPrefix)
Set the access log prefix.
|
void |
setAccessLogRotate(boolean accessLogRotate)
Set whether access logs rotation is enabled.
|
void |
setAccessLogSuffix(String accessLogSuffix)
Set the access log suffix.
|
void |
setBufferSize(Integer bufferSize)
Set the buffer size.
|
void |
setIoThreads(Integer ioThreads)
Set the number of IO Threads.
|
void |
setUseDirectBuffers(Boolean useDirectBuffers)
Set whether direct buffers should be used.
|
void |
setUseForwardHeaders(boolean useForwardHeaders)
Set if x-forward-* headers should be processed.
|
void |
setWorkerThreads(Integer workerThreads)
Set the number of Worker Threads.
|
setAddress, setCompression, setErrorPages, setHttp2, setPort, setServerHeader, setSsl, setSslStoreProvider
addErrorPages
void addBuilderCustomizers(UndertowBuilderCustomizer... customizers)
UndertowBuilderCustomizer
s that should be used to customize the
Undertow Undertow.Builder
.customizers
- the customizers to add@Deprecated void addDeploymentInfoCustomizers(UndertowDeploymentInfoCustomizer... customizers)
UndertowServletWebServerFactory.addDeploymentInfoCustomizers(UndertowDeploymentInfoCustomizer...)
as UndertowReactiveWebServerFactory
does not create a
DeploymentInfo
UndertowDeploymentInfoCustomizer
s that should be used to customize the
Undertow DeploymentInfo
.customizers
- the customizers to addvoid setBufferSize(Integer bufferSize)
bufferSize
- buffer sizevoid setIoThreads(Integer ioThreads)
ioThreads
- number of IO Threadsvoid setWorkerThreads(Integer workerThreads)
workerThreads
- number of Worker Threadsvoid setUseDirectBuffers(Boolean useDirectBuffers)
useDirectBuffers
- whether direct buffers should be usedvoid setAccessLogDirectory(File accessLogDirectory)
accessLogDirectory
- access log directoryvoid setAccessLogPattern(String accessLogPattern)
accessLogPattern
- access log patternvoid setAccessLogPrefix(String accessLogPrefix)
accessLogPrefix
- log prefixvoid setAccessLogSuffix(String accessLogSuffix)
accessLogSuffix
- access log suffixvoid setAccessLogEnabled(boolean accessLogEnabled)
accessLogEnabled
- whether access logs are enabledvoid setAccessLogRotate(boolean accessLogRotate)
accessLogRotate
- whether access logs rotation is enabledvoid setUseForwardHeaders(boolean useForwardHeaders)
useForwardHeaders
- if x-forward headers should be usedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.