Package io.netty.handler.codec.http2
Class EspressoHttp2FrameCodecBuilder
- java.lang.Object
-
- io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<io.netty.handler.codec.http2.Http2FrameCodec,io.netty.handler.codec.http2.Http2FrameCodecBuilder>
-
- io.netty.handler.codec.http2.Http2FrameCodecBuilder
-
- io.netty.handler.codec.http2.EspressoHttp2FrameCodecBuilder
-
public class EspressoHttp2FrameCodecBuilder extends io.netty.handler.codec.http2.Http2FrameCodecBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Predicate<io.netty.channel.Channel>
CAN_ALWAYS_CREATE_STREAMS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.netty.handler.codec.http2.Http2FrameCodec
build(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings)
EspressoHttp2FrameCodecBuilder
canCreateStreams(java.util.function.Predicate<io.netty.channel.Channel> canCreateStreams)
static EspressoHttp2FrameCodecBuilder
forClient()
Creates a builder for an HTTP/2 client.static EspressoHttp2FrameCodecBuilder
forServer()
Creates a builder for a HTTP/2 server.-
Methods inherited from class io.netty.handler.codec.http2.Http2FrameCodecBuilder
autoAckPingFrame, autoAckSettingsFrame, build, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxConsecutiveEmptyDataFrames, decoupleCloseAndGoAway, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxQueuedControlFrames, encoderEnforceMaxQueuedControlFrames, encoderIgnoreMaxHeaderListSize, frameLogger, frameLogger, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, headerSensitivityDetector, headerSensitivityDetector, initialHuffmanDecodeCapacity, initialSettings, initialSettings, isServer, isValidateHeaders, maxReservedStreams, maxReservedStreams, validateHeaders
-
Methods inherited from class io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder
codec, connection, connection, decoder, decoupleCloseAndGoAway, encoder, frameListener, frameListener, isAutoAckPingFrame, isAutoAckSettingsFrame, promisedRequestVerifier, promisedRequestVerifier, self, server
-
-
-
-
Method Detail
-
canCreateStreams
public EspressoHttp2FrameCodecBuilder canCreateStreams(java.util.function.Predicate<io.netty.channel.Channel> canCreateStreams)
-
forServer
public static EspressoHttp2FrameCodecBuilder forServer()
Creates a builder for a HTTP/2 server.
-
forClient
public static EspressoHttp2FrameCodecBuilder forClient()
Creates a builder for an HTTP/2 client.- Returns:
- Builder for client
-
build
protected io.netty.handler.codec.http2.Http2FrameCodec build(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings)
- Overrides:
build
in classio.netty.handler.codec.http2.Http2FrameCodecBuilder
-
-