Attributes
- Companion
- object
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Configure the server to use HttpServerExpectContinueHandler to send a 100 HttpResponse if necessary.
Configure the server to use HttpServerExpectContinueHandler to send a 100 HttpResponse if necessary.
Attributes
Attempts to avoid context switching between thread pools by executing requests within the server's IO thread-pool (e.g., Netty's EventLoop) until the first async/blocking boundary.
Attempts to avoid context switching between thread pools by executing requests within the server's IO thread-pool (e.g., Netty's EventLoop) until the first async/blocking boundary.
Enabling this setting can improve performance for short-lived CPU-bound tasks, but can also lead to degraded performance if the request handler performs CPU-heavy work prior to the first async boundary.
'''WARNING:''' Do not use this mode if the ZIO executor is configured to use virtual threads!
Attributes
- See also
-
For more info on caveats of this mode, see related issue
Configure the server to listen on the provided hostname and port.
Configure the server to listen on the provided hostname and port.
Attributes
Configure the server to listen on the provided InetAddress and port.
Configure the server to listen on the provided InetAddress and port.
Attributes
Configure the server to listen on the provided InetSocketAddress.
Configure the server to listen on the provided InetSocketAddress.
Attributes
Disables streaming of request bodies. Payloads larger than maxContentLength will be rejected
Disables streaming of request bodies. Payloads larger than maxContentLength will be rejected
Attributes
Enables streaming request bodies
Enables streaming request bodies
Attributes
Enables hybrid request streaming
Enables hybrid request streaming
Attributes
Configure the server to use netty's HttpServerKeepAliveHandler to close persistent connections when enable is true (@see HttpServerKeepAliveHandler).
Configure the server to use netty's HttpServerKeepAliveHandler to close persistent connections when enable is true (@see HttpServerKeepAliveHandler).
Attributes
Log a warning in case of fatal errors when an error response cannot be sent back to the client
Log a warning in case of fatal errors when an error response cannot be sent back to the client
Attributes
Configure the server to use maxHeaderSize value when encode/decode headers.
Configure the server to use maxHeaderSize value when encode/decode headers.
Attributes
Configure the server to listen on an available open port
Configure the server to listen on an available open port
Attributes
Configure the server to listen on the provided port.
Configure the server to listen on the provided port.
Attributes
Configure the server to use netty's HttpContentDecompressor to decompress Http requests (@see HttpContentDecompressor).
Configure the server to use netty's HttpContentDecompressor to decompress Http requests (@see HttpContentDecompressor).
Attributes
Enables or disables request body streaming
Enables or disables request body streaming
Attributes
Configure the new server with netty's HttpContentCompressor to compress Http responses (@see <a href = "https://netty.io/4.1/api/io/netty/handler/codec/http/HttpContentCompressor.html"HttpContentCompressor).
Configure the new server with netty's HttpContentCompressor to compress Http responses (@see <a href = "https://netty.io/4.1/api/io/netty/handler/codec/http/HttpContentCompressor.html"HttpContentCompressor).
Attributes
Sets the maximum number of connection requests that will be queued before being rejected
Sets the maximum number of connection requests that will be queued before being rejected
Attributes
Configure the server with the following ssl options.
Configure the server with the following ssl options.
Attributes
Configure the server to enable/disable TCP_NODELAY. TCP_NODELAY disables Nagle's algorithm, which reduces latency for small messages.
Configure the server to enable/disable TCP_NODELAY. TCP_NODELAY disables Nagle's algorithm, which reduces latency for small messages.