Class Http2ServerHandler.ConnectionHandlerBuilder
java.lang.Object
io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,Http2ServerHandler.ConnectionHandlerBuilder>
io.micronaut.http.server.netty.handler.Http2ServerHandler.ConnectionHandlerBuilder
- Enclosing class:
- Http2ServerHandler
public static final class Http2ServerHandler.ConnectionHandlerBuilder
extends io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,Http2ServerHandler.ConnectionHandlerBuilder>
Http2ConnectionHandler
builder for the Http2ServerHandler
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessLogManagerFactory
(Http2AccessLogManager.Factory accessLogManagerFactory) bodySizeLimits
(BodySizeLimits bodySizeLimits) build()
protected Http2ServerHandler.ConnectionHandler
build
(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings) compressor
(HttpCompressionStrategy compressionStrategy) frameLogger
(io.netty.handler.codec.http2.Http2FrameLogger frameLogger) initialSettings
(io.netty.handler.codec.http2.Http2Settings settings) validateHeaders
(boolean validateHeaders) Methods inherited from class io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder
autoAckPingFrame, autoAckSettingsFrame, codec, connection, connection, decoder, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxRstFramesPerWindow, decoupleCloseAndGoAway, decoupleCloseAndGoAway, encoder, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxQueuedControlFrames, encoderEnforceMaxQueuedControlFrames, encoderIgnoreMaxHeaderListSize, flushPreface, flushPreface, frameListener, frameListener, frameLogger, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, headerSensitivityDetector, headerSensitivityDetector, initialHuffmanDecodeCapacity, initialSettings, isAutoAckPingFrame, isAutoAckSettingsFrame, isServer, isValidateHeaders, maxReservedStreams, maxReservedStreams, promisedRequestVerifier, promisedRequestVerifier, self, server
-
Constructor Details
-
ConnectionHandlerBuilder
-
-
Method Details
-
frameLogger
public Http2ServerHandler.ConnectionHandlerBuilder frameLogger(io.netty.handler.codec.http2.Http2FrameLogger frameLogger) - Overrides:
frameLogger
in classio.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,
Http2ServerHandler.ConnectionHandlerBuilder>
-
validateHeaders
- Overrides:
validateHeaders
in classio.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,
Http2ServerHandler.ConnectionHandlerBuilder>
-
initialSettings
public Http2ServerHandler.ConnectionHandlerBuilder initialSettings(io.netty.handler.codec.http2.Http2Settings settings) - Overrides:
initialSettings
in classio.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,
Http2ServerHandler.ConnectionHandlerBuilder>
-
accessLogManagerFactory
public Http2ServerHandler.ConnectionHandlerBuilder accessLogManagerFactory(@Nullable Http2AccessLogManager.Factory accessLogManagerFactory) -
compressor
public Http2ServerHandler.ConnectionHandlerBuilder compressor(HttpCompressionStrategy compressionStrategy) -
bodySizeLimits
-
build
- Overrides:
build
in classio.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,
Http2ServerHandler.ConnectionHandlerBuilder>
-
build
protected Http2ServerHandler.ConnectionHandler build(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings) throws Exception - Specified by:
build
in classio.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<Http2ServerHandler.ConnectionHandler,
Http2ServerHandler.ConnectionHandlerBuilder> - Throws:
Exception
-