Functions

Link copied to clipboard
Add UndertowBuilderCustomizers that should be used to customize the Undertow Builder.
Link copied to clipboard
abstract fun addErrorPages(errorPages: Array<ErrorPage>)
Adds error pages that will be used when handling exceptions.
Link copied to clipboard
abstract fun setAccessLogDirectory(accessLogDirectory: File)
Set the access log directory.
Link copied to clipboard
abstract fun setAccessLogEnabled(accessLogEnabled: Boolean)
Set whether access logs are enabled.
Link copied to clipboard
abstract fun setAccessLogPattern(accessLogPattern: String)
Set the access log pattern.
Link copied to clipboard
abstract fun setAccessLogPrefix(accessLogPrefix: String)
Set the access log prefix.
Link copied to clipboard
abstract fun setAccessLogRotate(accessLogRotate: Boolean)
Set whether access logs rotation is enabled.
Link copied to clipboard
abstract fun setAccessLogSuffix(accessLogSuffix: String)
Set the access log suffix.
Link copied to clipboard
abstract fun setAddress(address: InetAddress)
Sets the specific network address that the server should bind to.
Link copied to clipboard
abstract 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
abstract fun setCompression(compression: Compression)
Sets the compression configuration that will be applied to the server's default connector.
Link copied to clipboard
abstract fun setErrorPages(errorPages: Set<out ErrorPage>)
Sets the error pages that will be used when handling exceptions.
Link copied to clipboard
abstract fun setHttp2(http2: Http2)
Sets the HTTP/2 configuration that will be applied to the server.
Link copied to clipboard
abstract fun setIoThreads(ioThreads: Integer)
Set the number of IO Threads.
Link copied to clipboard
abstract fun setPort(port: Int)
Sets the port that the web server should listen on.
Link copied to clipboard
abstract fun setServerHeader(serverHeader: String)
Sets the server header value.
Link copied to clipboard
open fun setShutdown(shutdown: Shutdown)
Sets the shutdown configuration that will be applied to the server.
Link copied to clipboard
abstract fun setSsl(ssl: Ssl)
Sets the SSL configuration that will be applied to the server's default connector.
Link copied to clipboard
abstract fun setSslBundles(sslBundles: SslBundles)
Sets the SSL bundles that can be used to configure SSL connections.
Link copied to clipboard
abstract fun setUseDirectBuffers(useDirectBuffers: Boolean)
Set whether direct buffers should be used.
Link copied to clipboard
abstract fun setUseForwardHeaders(useForwardHeaders: Boolean)
Set if x-forward-* headers should be processed.
Link copied to clipboard
abstract fun setWorkerThreads(workerThreads: Integer)
Set the number of Worker Threads.