public final class HttpServerOptions extends ServerOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpServerOptions.Builder |
afterChannelInit, afterNettyContextInit, DEFAULT_PORT| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asDetailedString() |
java.lang.String |
asSimpleString() |
static HttpServerOptions.Builder |
builder()
Create a new HttpServerOptions.Builder
|
java.util.function.BiPredicate<HttpServerRequest,HttpServerResponse> |
compressionPredicate()
Returns the compression predicate returning true to compress the response.
|
HttpServerOptions |
duplicate()
Return a copy of all options and references such as
NettyOptions.Builder.onChannelInit(Predicate). |
int |
httpCodecInitialBufferSize()
Returns the configured HTTP codec initial buffer size.
|
int |
httpCodecMaxChunkSize()
Returns the configured HTTP chunk maximum size.
|
int |
httpCodecMaxHeaderSize()
Returns the configured HTTP header maximum size.
|
int |
httpCodecMaxInitialLineLength()
Returns the maximum length configured for the initial HTTP line.
|
boolean |
httpCodecValidateHeaders()
Returns the HTTP validate headers flag.
|
int |
minCompressionResponseSize()
Returns the minimum response size before the output is compressed.
|
java.lang.String |
toString() |
builder, get, getAddressafterChannelInit, afterNettyContextInit, defaultSslContext, getLoopResources, getSslHandler, isSecure, onChannelInit, preferNative, sslCloseNotifyFlushTimeoutMillis, sslCloseNotifyReadTimeoutMillis, sslContext, sslHandshakeTimeoutMillispublic static HttpServerOptions.Builder builder()
public java.util.function.BiPredicate<HttpServerRequest,HttpServerResponse> compressionPredicate()
public int minCompressionResponseSize()
public int httpCodecMaxInitialLineLength()
HttpServerCodecpublic int httpCodecMaxHeaderSize()
HttpServerCodecpublic int httpCodecMaxChunkSize()
HttpServerCodecpublic boolean httpCodecValidateHeaders()
HttpServerCodecpublic int httpCodecInitialBufferSize()
HttpServerCodecpublic HttpServerOptions duplicate()
NettyOptionsNettyOptions.Builder.onChannelInit(Predicate). Further option uses on the returned builder will
be fully isolated from this option builder.duplicate in class ServerOptionspublic java.lang.String asSimpleString()
asSimpleString in class ServerOptionspublic java.lang.String asDetailedString()
asDetailedString in class ServerOptionspublic java.lang.String toString()
toString in class ServerOptions