UndertowReactiveWebServerFactory

Constructors

Link copied to clipboard
constructor()
Create a new UndertowReactiveWebServerFactory instance.
constructor(port: Int)
Create a new UndertowReactiveWebServerFactory that listens for requests using the specified port.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var http2: Http2
Link copied to clipboard
open var port: Int
Link copied to clipboard
Link copied to clipboard
open var shutdown: Shutdown
Link copied to clipboard
open var ssl: Ssl
Link copied to clipboard

Functions

Link copied to clipboard
Add UndertowBuilderCustomizers that should be used to customize the Undertow Builder.
Link copied to clipboard
open fun addErrorPages(errorPages: Array<ErrorPage>)
Adds error pages that will be used when handling exceptions.
Link copied to clipboard
Returns a mutable collection of the UndertowBuilderCustomizers that will be applied to the Undertow Builder.
Link copied to clipboard
open fun getWebServer(httpHandler: HttpHandler): WebServer
Gets a new fully configured but paused WebServer instance.
Link copied to clipboard
Link copied to clipboard
open fun setAccessLogDirectory(accessLogDirectory: File)
Set the access log directory.
Link copied to clipboard
open fun setAccessLogEnabled(accessLogEnabled: Boolean)
Set whether access logs are enabled.
Link copied to clipboard
open fun setAccessLogPattern(accessLogPattern: String)
Set the access log pattern.
Link copied to clipboard
open fun setAccessLogPrefix(accessLogPrefix: String)
Set the access log prefix.
Link copied to clipboard
open fun setAccessLogRotate(accessLogRotate: Boolean)
Set whether access logs rotation is enabled.
Link copied to clipboard
open fun setAccessLogSuffix(accessLogSuffix: String)
Set the access log suffix.
Link copied to clipboard
open fun setBufferSize(bufferSize: Integer)
Set the buffer size.
Link copied to clipboard
Set UndertowBuilderCustomizers that should be applied to the Undertow Builder.
Link copied to clipboard
open fun setErrorPages(errorPages: Set<out ErrorPage>)
Sets the error pages that will be used when handling exceptions.
Link copied to clipboard
open fun setIoThreads(ioThreads: Integer)
Set the number of IO Threads.
Link copied to clipboard
open fun setUseDirectBuffers(directBuffers: Boolean)
Set whether direct buffers should be used.
Link copied to clipboard
open fun setUseForwardHeaders(useForwardHeaders: Boolean)
Set if x-forward-* headers should be processed.
Link copied to clipboard
open fun setWorkerThreads(workerThreads: Integer)
Set the number of Worker Threads.