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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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) canCreateStreams
(Predicate<io.netty.channel.Channel> canCreateStreams) Creates a builder for an HTTP/2 client.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
-
Field Details
-
CAN_ALWAYS_CREATE_STREAMS
-
-
Method Details
-
canCreateStreams
public EspressoHttp2FrameCodecBuilder canCreateStreams(Predicate<io.netty.channel.Channel> canCreateStreams) -
forServer
Creates a builder for a HTTP/2 server. -
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
-