public interface ConfigurableUndertowWebServerFactory extends ConfigurableWebServerFactory
ConfigurableWebServerFactory for Undertow-specific features.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
addBuilderCustomizers(UndertowBuilderCustomizer customizers)Add UndertowBuilderCustomizers that should be used to customize the Undertow io.undertow.Undertow.Builder. |
|
public void |
setAccessLogDirectory(java.io.File accessLogDirectory)Set the access log directory. |
|
public void |
setAccessLogEnabled(boolean accessLogEnabled)Set whether access logs are enabled. |
|
public void |
setAccessLogPattern(java.lang.String accessLogPattern)Set the access log pattern. |
|
public void |
setAccessLogPrefix(java.lang.String accessLogPrefix)Set the access log prefix. |
|
public void |
setAccessLogRotate(boolean accessLogRotate)Set whether access logs rotation is enabled. |
|
public void |
setAccessLogSuffix(java.lang.String accessLogSuffix)Set the access log suffix. |
|
public void |
setBufferSize(java.lang.Integer bufferSize)Set the buffer size. |
|
public void |
setBuilderCustomizers(java.util.Collection<? extends UndertowBuilderCustomizer> customizers)Set UndertowBuilderCustomizers that should be applied to the Undertow io.undertow.Undertow.Builder. |
|
public void |
setIoThreads(java.lang.Integer ioThreads)Set the number of IO Threads. |
|
public void |
setUseDirectBuffers(java.lang.Boolean useDirectBuffers)Set whether direct buffers should be used. |
|
public void |
setUseForwardHeaders(boolean useForwardHeaders)Set if x-forward-* headers should be processed. |
|
public void |
setWorkerThreads(java.lang.Integer workerThreads)Set the number of Worker Threads. |
Add UndertowBuilderCustomizers that should be used to customize the Undertow io.undertow.Undertow.Builder.
customizers - the customizers to addSet the access log directory.
accessLogDirectory - access log directorySet whether access logs are enabled.
accessLogEnabled - whether access logs are enabledSet the access log pattern.
accessLogPattern - access log patternSet the access log prefix.
accessLogPrefix - log prefixSet whether access logs rotation is enabled.
accessLogRotate - whether access logs rotation is enabledSet the access log suffix.
accessLogSuffix - access log suffixSet the buffer size.
bufferSize - buffer sizeSet UndertowBuilderCustomizers that should be applied to the Undertow io.undertow.Undertow.Builder. Calling this method will replace any existing customizers.
customizers - the customizers to setSet the number of IO Threads.
ioThreads - number of IO ThreadsSet whether direct buffers should be used.
useDirectBuffers - whether direct buffers should be usedSet if x-forward-* headers should be processed.
useForwardHeaders - if x-forward headers should be usedSet the number of Worker Threads.
workerThreads - number of Worker Threads