@UnstableApi public class DecoratingHttp2ConnectionEncoder extends DecoratingHttp2FrameWriter implements Http2ConnectionEncoder, Http2SettingsReceivedConsumer
Http2ConnectionEncoder
instance.Http2FrameWriter.Configuration
构造器和说明 |
---|
DecoratingHttp2ConnectionEncoder(Http2ConnectionEncoder delegate) |
限定符和类型 | 方法和说明 |
---|---|
Http2Connection |
connection()
Provides direct access to the underlying connection.
|
void |
consumeReceivedSettings(Http2Settings settings)
Consume the most recently received but not yet ACKed settings.
|
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
在接口中 Http2ConnectionEncoder
public Http2Connection connection()
Http2ConnectionEncoder
connection
在接口中 Http2ConnectionEncoder
public Http2RemoteFlowController flowController()
Http2ConnectionEncoder
flowController
在接口中 Http2ConnectionEncoder
public Http2FrameWriter frameWriter()
Http2ConnectionEncoder
frameWriter
在接口中 Http2ConnectionEncoder
public Http2Settings pollSentSettings()
Http2ConnectionEncoder
null
.pollSentSettings
在接口中 Http2ConnectionEncoder
public void remoteSettings(Http2Settings settings) throws Http2Exception
Http2ConnectionEncoder
remoteSettings
在接口中 Http2ConnectionEncoder
Http2Exception
public void consumeReceivedSettings(Http2Settings settings)
Http2SettingsReceivedConsumer