Class DecoratingHttp2ConnectionEncoder
java.lang.Object
io.netty.handler.codec.http2.DecoratingHttp2FrameWriter
io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder
- All Implemented Interfaces:
Http2ConnectionEncoder, Http2DataWriter, Http2FrameWriter, Http2SettingsReceivedConsumer, Closeable, AutoCloseable
- Direct Known Subclasses:
CompressorHttp2ConnectionEncoder, StreamBufferingEncoder
public class DecoratingHttp2ConnectionEncoder
extends DecoratingHttp2FrameWriter
implements Http2ConnectionEncoder, Http2SettingsReceivedConsumer
A decorator around another
Http2ConnectionEncoder instance.-
Nested Class Summary
Nested classes/interfaces inherited from interface Http2FrameWriter
Http2FrameWriter.Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides direct access to the underlying connection.voidconsumeReceivedSettings(Http2Settings settings) Consume the most recently received but not yet ACKed settings.Provides the remote flow controller for managing outbound traffic.Provides direct access to the underlying frame writer object.voidlifecycleManager(Http2LifecycleManager lifecycleManager) Sets the lifecycle manager.Gets the local settings on the top of the queue that has been sent but not ACKed.voidremoteSettings(Http2Settings settings) Sets the settings for the remote endpoint of the HTTP/2 connection.Methods inherited from class DecoratingHttp2FrameWriter
close, configuration, writeData, writeFrame, writeGoAway, writeHeaders, writeHeaders, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Http2ConnectionEncoder
writeFrameMethods inherited from interface Http2DataWriter
writeDataMethods inherited from interface Http2FrameWriter
close, configuration, writeGoAway, writeHeaders, writeHeaders, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdate
-
Constructor Details
-
DecoratingHttp2ConnectionEncoder
-
-
Method Details
-
lifecycleManager
Description copied from interface:Http2ConnectionEncoderSets the lifecycle manager. Must be called as part of initialization before the encoder is used.- Specified by:
lifecycleManagerin interfaceHttp2ConnectionEncoder
-
connection
Description copied from interface:Http2ConnectionEncoderProvides direct access to the underlying connection.- Specified by:
connectionin interfaceHttp2ConnectionEncoder
-
flowController
Description copied from interface:Http2ConnectionEncoderProvides the remote flow controller for managing outbound traffic.- Specified by:
flowControllerin interfaceHttp2ConnectionEncoder
-
frameWriter
Description copied from interface:Http2ConnectionEncoderProvides direct access to the underlying frame writer object.- Specified by:
frameWriterin interfaceHttp2ConnectionEncoder
-
pollSentSettings
Description copied from interface:Http2ConnectionEncoderGets the local settings on the top of the queue that has been sent but not ACKed. This may returnnull.- Specified by:
pollSentSettingsin interfaceHttp2ConnectionEncoder
-
remoteSettings
Description copied from interface:Http2ConnectionEncoderSets the settings for the remote endpoint of the HTTP/2 connection.- Specified by:
remoteSettingsin interfaceHttp2ConnectionEncoder- Throws:
Http2Exception
-
consumeReceivedSettings
Description copied from interface:Http2SettingsReceivedConsumerConsume the most recently received but not yet ACKed settings.- Specified by:
consumeReceivedSettingsin interfaceHttp2SettingsReceivedConsumer
-