| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv static final boolean | |
| pack-priv Function | |
| pack-priv boolean | |
| pack-priv BiPredicate | |
| pack-priv HttpRequestDecoderSpec | |
| pack-priv HttpServerFormDecoderProvider | |
| pack-priv BiFunction | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final Http2StreamFrameToHttpObjectCodec | |
| pack-priv Http2SettingsSpec | |
| pack-priv HttpMessageLogFactory | |
| pack-priv Duration | |
| pack-priv static final Logger | |
| pack-priv static final LoggingHandler | |
| pack-priv BiFunction | |
| pack-priv int | |
| pack-priv int | |
| pack-priv HttpProtocol[] | |
| pack-priv ProxyProtocolSupportType | |
| pack-priv boolean | |
| pack-priv static final boolean | SSL_DEBUG
Default value whether the SSL debugging on the server side will be enabled/disabled, fallback to SSL debugging disabled |
| pack-priv SslProvider | |
| pack-priv Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | HttpServerConfig(Map<ChannelOption<?>, ?> options, Map<ChannelOption<?>, ?> childOptions, Supplier<? extends SocketAddress> localAddress)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | addStreamHandlers(Channel ch, boolean accessLogEnabled, Function<AccessLogArgProvider, AccessLog> accessLog, BiPredicate<HttpServerRequest, HttpServerResponse> compressPredicate, HttpServerFormDecoderProvider formDecoderProvider, BiFunction<ConnectionInfo, HttpRequest, ConnectionInfo> forwardedHeaderHandler, HttpMessageLogFactory httpMessageLogFactory, ConnectionObserver listener, BiFunction<? super Mono<Void>, ? super Connection, ? extends Mono<Void>> mapHandle, ChannelMetricsRecorder metricsRecorder, int minCompressionSize, ChannelOperations.
|
| public BiPredicate | Returns: the configured compression predicate or nullReturn the configured compression predicate or null. |
| pack-priv static BiPredicate | compressPredicate(BiPredicate<HttpServerRequest, HttpServerResponse> compressionPredicate, int minResponseSize)
|
| pack-priv static void | configureH2Pipeline(ChannelPipeline p, boolean accessLogEnabled, Function<AccessLogArgProvider, AccessLog> accessLog, BiPredicate<HttpServerRequest, HttpServerResponse> compressPredicate, HttpServerFormDecoderProvider formDecoderProvider, BiFunction<ConnectionInfo, HttpRequest, ConnectionInfo> forwardedHeaderHandler, Http2Settings http2Settings, HttpMessageLogFactory httpMessageLogFactory, Duration idleTimeout, ConnectionObserver listener, BiFunction<? super Mono<Void>, ? super Connection, ? extends Mono<Void>> mapHandle, ChannelMetricsRecorder metricsRecorder, int minCompressionSize, ChannelOperations.
|
| pack-priv static void | configureHttp11OrH2CleartextPipeline(ChannelPipeline p, boolean accessLogEnabled, Function<AccessLogArgProvider, AccessLog> accessLog, BiPredicate<HttpServerRequest, HttpServerResponse> compressPredicate, HttpRequestDecoderSpec decoder, HttpServerFormDecoderProvider formDecoderProvider, BiFunction<ConnectionInfo, HttpRequest, ConnectionInfo> forwardedHeaderHandler, Http2Settings http2Settings, HttpMessageLogFactory httpMessageLogFactory, Duration idleTimeout, ConnectionObserver listener, BiFunction<? super Mono<Void>, ? super Connection, ? extends Mono<Void>> mapHandle, int maxKeepAliveRequests, ChannelMetricsRecorder metricsRecorder, int minCompressionSize, ChannelOperations.
|
| pack-priv static void | configureHttp11Pipeline(ChannelPipeline p, boolean accessLogEnabled, Function<AccessLogArgProvider, AccessLog> accessLog, BiPredicate<HttpServerRequest, HttpServerResponse> compressPredicate, HttpRequestDecoderSpec decoder, HttpServerFormDecoderProvider formDecoderProvider, BiFunction<ConnectionInfo, HttpRequest, ConnectionInfo> forwardedHeaderHandler, HttpMessageLogFactory httpMessageLogFactory, Duration idleTimeout, ConnectionObserver listener, BiFunction<? super Mono<Void>, ? super Connection, ? extends Mono<Void>> mapHandle, int maxKeepAliveRequests, ChannelMetricsRecorder metricsRecorder, int minCompressionSize, Function<String, String> uriTagValue)
|
| public HttpRequestDecoderSpec | Returns: the configured HTTP request decoder options or the defaultReturn the configured HTTP request decoder options or the default. |
| protected LoggingHandler | defaultLoggingHandler()
Implements abstract reactor. LoggingHandler to wiretap this transport
|
| protected LoopResources | defaultLoopResources()
Implements abstract reactor. LoopResources for this transport
|
| protected ChannelMetricsRecorder | defaultMetricsRecorder()
Implements abstract reactor. |
| protected ChannelPipelineConfigurer | defaultOnChannelInit()
Overrides reactor. ChannelPipelineConfigurer#emptyConfigurer()
|
| public HttpServerFormDecoderProvider | Returns: the configured HTTP form decoder or the defaultReturn the configured HTTP form decoder or the default. |
| pack-priv Http2Settings | |
| public Http2SettingsSpec | |
| public Duration | Returns: the configured idle timeout for the connection when it is waiting for an HTTP request or nullReturn the configured idle timeout for the connection when it is waiting for an HTTP request or null. |
| public boolean | Returns: true if thatHttpServer supports the "Forwarded" and "X-Forwarded-*"
HTTP request headers for deriving information about the connectionReturns whether that |
| public boolean | Returns: true if thatHttpServer secured via SSL transportReturns true if that |
| protected void | loggingHandler(LoggingHandler loggingHandler)
Overrides reactor. |
| public int | Returns: the configured maximum number of HTTP/1.1 requests which can be served until the connection is closed by the server.The configured maximum number of HTTP/1.1 requests which can be served until the connection is closed by the server. |
| protected void | metricsRecorder(Supplier<? extends ChannelMetricsRecorder>
a supplier for the metricsRecorder)ChannelMetricsRecorderOverrides reactor. ChannelMetricsRecorder from the provided Supplier
|
| public int | Returns: the minimum compression size in bytesCompression is performed once response size exceeds the minimum compression size in bytes. |
| public HttpProtocol[] | |
| pack-priv void | |
| public ProxyProtocolSupportType | Returns: the supported type for the"HAProxy proxy protocol"Return the supported type for the |
| public boolean | Returns: true if thatHttpServer will redirect HTTP to HTTPS by changing
the scheme only but otherwise leaving the port the same when SSL is enabled.
This configuration is applicable only for HTTP/1.x.Returns true if that |
| public SslProvider | |
| public Function | Returns: the configured function that receives the actual uri and returns the uri tag value that will be used for the metrics withreactor. tagReturns the configured function that receives the actual uri and returns the uri tag value
that will be used for the metrics with |