@UnstableApi public class DecoratingHttp2ConnectionEncoder extends DecoratingHttp2FrameWriter implements Http2ConnectionEncoder
Http2ConnectionEncoder
实例的装饰器。
Http2FrameWriter.Configuration
Constructor and Description |
---|
DecoratingHttp2ConnectionEncoder(Http2ConnectionEncoder delegate) |
Modifier and Type | Method and Description |
---|---|
Http2Connection |
connection()
提供对底层连接的直接访问。
|
Http2RemoteFlowController |
flowController()
提供远程流量控制器来管理出站流量。
|
Http2FrameWriter |
frameWriter()
提供对底层框架编写器对象的直接访问。
|
void |
lifecycleManager(Http2LifecycleManager lifecycleManager)
设置生命周期管理器。
|
Http2Settings |
pollSentSettings()
获取已发送但未确认的队列顶部的本地设置。
|
void |
remoteSettings(Http2Settings settings)
设置HTTP / 2连接的远程端点的设置。
|
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
Copyright © 2008–2018 The Netty Project. All rights reserved.