Top Description Fields Constructors Methods
io.netty.handler.codec.http2

public Class DecoratingHttp2ConnectionEncoder

extends DecoratingHttp2FrameWriter
implements Http2ConnectionEncoder, Http2SettingsReceivedConsumer
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.http2.Http2SettingsReceivedConsumer, io.netty.handler.codec.http2.Http2ConnectionEncoder, io.netty.handler.codec.http2.Http2FrameWriter, java.io.Closeable, java.lang.AutoCloseable, io.netty.handler.codec.http2.Http2DataWriter
Known Direct Subclasses
io.netty.handler.codec.http2.Http2ControlFrameLimitEncoder, io.netty.handler.codec.http2.StreamBufferingEncoder, io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder
Annotations
@UnstableApi
Imports
io.netty.util.internal.UnstableApi

A decorator around another Http2ConnectionEncoder instance.

Field Summary

Modifier and TypeField and Description
private final Http2ConnectionEncoder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Http2Connection
connection()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.connection.

Provides direct access to the underlying connection.
public void
consumeReceivedSettings(Http2Settings settings)

Implements io.netty.handler.codec.http2.Http2SettingsReceivedConsumer.consumeReceivedSettings.

Consume the most recently received but not yet ACKed settings.
public Http2RemoteFlowController
flowController()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.flowController.

Provides the remote flow controller for managing outbound traffic.
public Http2FrameWriter
frameWriter()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.frameWriter.

Provides direct access to the underlying frame writer object.
public void
public Http2Settings
pollSentSettings()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.pollSentSettings.

Gets the local settings on the top of the queue that has been sent but not ACKed.
public void
remoteSettings(Http2Settings settings)

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.remoteSettings.

Sets the settings for the remote endpoint of the HTTP/2 connection.
Inherited from io.netty.handler.codec.http2.DecoratingHttp2FrameWriter:
closeconfigurationwriteDatawriteFramewriteGoAwaywriteHeaderswriteHeaderswritePingwritePrioritywritePushPromisewriteRstStreamwriteSettingswriteSettingsAckwriteWindowUpdate

Field Detail

delegateback to summary
private final Http2ConnectionEncoder delegate

Hides io.netty.handler.codec.http2.DecoratingHttp2FrameWriter.delegate.

Constructor Detail

DecoratingHttp2ConnectionEncoderback to summary
public DecoratingHttp2ConnectionEncoder(Http2ConnectionEncoder delegate)

Method Detail

connectionback to summary
public Http2Connection connection()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.connection.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.connection.

Provides direct access to the underlying connection.

Annotations
@Override
consumeReceivedSettingsback to summary
public void consumeReceivedSettings(Http2Settings settings)

Implements io.netty.handler.codec.http2.Http2SettingsReceivedConsumer.consumeReceivedSettings.

Doc from io.netty.handler.codec.http2.Http2SettingsReceivedConsumer.consumeReceivedSettings.

Consume the most recently received but not yet ACKed settings.

Annotations
@Override
flowControllerback to summary
public Http2RemoteFlowController flowController()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.flowController.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.flowController.

Provides the remote flow controller for managing outbound traffic.

Annotations
@Override
frameWriterback to summary
public Http2FrameWriter frameWriter()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.frameWriter.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.frameWriter.

Provides direct access to the underlying frame writer object.

Annotations
@Override
lifecycleManagerback to summary
public void lifecycleManager(Http2LifecycleManager lifecycleManager)

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.lifecycleManager.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.lifecycleManager.

Sets the lifecycle manager. Must be called as part of initialization before the encoder is used.

Annotations
@Override
pollSentSettingsback to summary
public Http2Settings pollSentSettings()

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.pollSentSettings.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.pollSentSettings.

Gets the local settings on the top of the queue that has been sent but not ACKed. This may return null.

Annotations
@Override
remoteSettingsback to summary
public void remoteSettings(Http2Settings settings) throws Http2Exception

Implements io.netty.handler.codec.http2.Http2ConnectionEncoder.remoteSettings.

Doc from io.netty.handler.codec.http2.Http2ConnectionEncoder.remoteSettings.

Sets the settings for the remote endpoint of the HTTP/2 connection.

Annotations
@Override