@UnstableApi public interface Http2ConnectionEncoder extends Http2FrameWriter
Http2FrameWriter.Configuration| Modifier and Type | Method and Description | 
|---|---|
| Http2Connection | connection()
              提供对底层连接的直接访问。 
             | 
| Http2RemoteFlowController | flowController()
              提供远程流量控制器来管理出站流量。 
             | 
| Http2FrameWriter | frameWriter()
              提供对底层框架编写器对象的直接访问。 
             | 
| void | lifecycleManager(Http2LifecycleManager lifecycleManager)
              设置生命周期管理器。 
             | 
| Http2Settings | pollSentSettings()
              获取已发送但未确认的队列顶部的本地设置。 
             | 
| void | remoteSettings(Http2Settings settings)
              设置HTTP / 2连接的远程端点的设置。 
             | 
| ChannelFuture | writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) 
             将给定的数据写入内部 Http2FrameWriter,而不对连接/流执行任何状态检查。 | 
close, configuration, writeGoAway, writeHeaders, writeHeaders, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdatewriteDatavoid lifecycleManager(Http2LifecycleManager lifecycleManager)
Http2Connection connection()
Http2RemoteFlowController flowController()
Http2FrameWriter frameWriter()
Http2Settings pollSentSettings()
null 。 
          void remoteSettings(Http2Settings settings) throws Http2Exception
ChannelFuture writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)
Http2FrameWriter,而不对连接/流执行任何状态检查。 
          writeFrame在界面 
            Http2FrameWriter 
           ctx - 用于书写的上下文。 
           frameType - 帧类型标识符。 
           streamId - 要发送帧的流。 
           flags - 为此帧写入的标志。 
           payload - 为此帧写入的有效负载。 
            这将通过这种方法发布。 
           promise - 写作的承诺。 
           Copyright © 2008–2018 The Netty Project. All rights reserved.