-
Method Summary
void
void
Set the access log directory.
void
Set whether access logs are enabled.
void
Set the access log pattern.
void
Set the access log prefix.
void
Set whether access logs rotation is enabled.
void
Set the access log suffix.
void
void
void
Set the number of IO Threads.
void
Set whether direct buffers should be used.
void
Set if x-forward-* headers should be processed.
void
Set the number of Worker Threads.
-
Method Details
-
setBuilderCustomizers
Set
UndertowBuilderCustomizer
s that should be applied to the Undertow
Undertow.Builder
. Calling this method will replace any existing customizers.
- Parameters:
customizers
- the customizers to set
- Since:
- 2.3.0
-
addBuilderCustomizers
- Parameters:
customizers
- the customizers to add
-
setBufferSize
void setBufferSize(Integer bufferSize)
Set the buffer size.
- Parameters:
bufferSize
- buffer size
-
setIoThreads
void setIoThreads(Integer ioThreads)
Set the number of IO Threads.
- Parameters:
ioThreads
- number of IO Threads
-
setWorkerThreads
void setWorkerThreads(Integer workerThreads)
Set the number of Worker Threads.
- Parameters:
workerThreads
- number of Worker Threads
-
setUseDirectBuffers
void setUseDirectBuffers(Boolean useDirectBuffers)
Set whether direct buffers should be used.
- Parameters:
useDirectBuffers
- whether direct buffers should be used
-
setAccessLogDirectory
void setAccessLogDirectory(File accessLogDirectory)
Set the access log directory.
- Parameters:
accessLogDirectory
- access log directory
-
setAccessLogPattern
void setAccessLogPattern(String accessLogPattern)
Set the access log pattern.
- Parameters:
accessLogPattern
- access log pattern
-
setAccessLogPrefix
void setAccessLogPrefix(String accessLogPrefix)
Set the access log prefix.
- Parameters:
accessLogPrefix
- log prefix
-
setAccessLogSuffix
void setAccessLogSuffix(String accessLogSuffix)
Set the access log suffix.
- Parameters:
accessLogSuffix
- access log suffix
-
setAccessLogEnabled
void setAccessLogEnabled(boolean accessLogEnabled)
Set whether access logs are enabled.
- Parameters:
accessLogEnabled
- whether access logs are enabled
-
setAccessLogRotate
void setAccessLogRotate(boolean accessLogRotate)
Set whether access logs rotation is enabled.
- Parameters:
accessLogRotate
- whether access logs rotation is enabled
-