@UnstableApi public class DecoratingHttp2ConnectionEncoder extends DecoratingHttp2FrameWriter implements Http2ConnectionEncoder
Http2ConnectionEncoder
instance.Http2FrameWriter.Configuration
Constructor and Description |
---|
DecoratingHttp2ConnectionEncoder(Http2ConnectionEncoder delegate) |
Modifier and Type | Method and Description |
---|---|
Http2Connection |
connection()
Provides direct access to the underlying connection.
|
Http2RemoteFlowController |
flowController()
Provides the remote flow controller for managing outbound traffic.
|
Http2FrameWriter |
frameWriter()
Provides direct access to the underlying frame writer object.
|
void |
lifecycleManager(Http2LifecycleManager lifecycleManager)
Sets the lifecycle manager.
|
Http2Settings |
pollSentSettings()
Gets the local settings on the top of the queue that has been sent but not ACKed.
|
void |
remoteSettings(Http2Settings settings)
Sets the settings for the remote endpoint of the HTTP/2 connection.
|
close, configuration, writeData, writeFrame, writeGoAway, writeHeaders, writeHeaders, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeFrame
close, configuration, writeGoAway, writeHeaders, writeHeaders, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdate
writeData
public DecoratingHttp2ConnectionEncoder(Http2ConnectionEncoder delegate)
public void lifecycleManager(Http2LifecycleManager lifecycleManager)
Http2ConnectionEncoder
lifecycleManager
in interface Http2ConnectionEncoder
public Http2Connection connection()
Http2ConnectionEncoder
connection
in interface Http2ConnectionEncoder
public Http2RemoteFlowController flowController()
Http2ConnectionEncoder
flowController
in interface Http2ConnectionEncoder
public Http2FrameWriter frameWriter()
Http2ConnectionEncoder
frameWriter
in interface Http2ConnectionEncoder
public Http2Settings pollSentSettings()
Http2ConnectionEncoder
null
.pollSentSettings
in interface Http2ConnectionEncoder
public void remoteSettings(Http2Settings settings) throws Http2Exception
Http2ConnectionEncoder
remoteSettings
in interface Http2ConnectionEncoder
Http2Exception
Copyright © 2008–2017 The Netty Project. All rights reserved.