| 程序包 | 说明 | 
|---|---|
| io.netty.example.http2.helloworld.client | |
| io.netty.example.http2.helloworld.server | |
| io.netty.handler.codec.http2 | Benchmarks for  io.netty.handler.codec.http2. | 
| io.netty.testsuite.http2 | This package is intended to test the http2 implementation against the specification
 using h2spec | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected void | Http2SettingsHandler. channelRead0(ChannelHandlerContext ctx,
            Http2Settings msg) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected HelloWorldHttp2Handler | HelloWorldHttp2HandlerBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings) | 
| void | HelloWorldHttp2Handler. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| Http2Settings | Http2Settings. copyFrom(Http2Settings settings)Clears and then copies the given settings into this object. | 
| static Http2Settings | Http2Settings. defaultSettings() | 
| Http2Settings | Http2Settings. headerTableSize(long value)Sets the  SETTINGS_HEADER_TABLE_SIZEvalue. | 
| Http2Settings | Http2MultiplexCodecBuilder. initialSettings()已过时。  | 
| Http2Settings | Http2FrameCodecBuilder. initialSettings() | 
| Http2Settings | Http2ConnectionHandlerBuilder. initialSettings() | 
| protected Http2Settings | AbstractHttp2ConnectionHandlerBuilder. initialSettings()Sets the  Http2Settingsto use for the initial connection settings exchange. | 
| Http2Settings | Http2Settings. initialWindowSize(int value)Sets the  SETTINGS_INITIAL_WINDOW_SIZEvalue. | 
| Http2Settings | Http2ConnectionDecoder. localSettings()Gets the local settings for this endpoint of the HTTP/2 connection. | 
| Http2Settings | DefaultHttp2ConnectionDecoder. localSettings() | 
| Http2Settings | DecoratingHttp2ConnectionDecoder. localSettings() | 
| Http2Settings | Http2Settings. maxConcurrentStreams(long value)Sets the  SETTINGS_MAX_CONCURRENT_STREAMSvalue. | 
| Http2Settings | Http2Settings. maxFrameSize(int value)Sets the  SETTINGS_MAX_FRAME_SIZEvalue. | 
| Http2Settings | Http2Settings. maxHeaderListSize(long value)Sets the  SETTINGS_MAX_HEADER_LIST_SIZEvalue. | 
| Http2Settings | Http2ConnectionEncoder. pollSentSettings()Gets the local settings on the top of the queue that has been sent but not ACKed. | 
| Http2Settings | DefaultHttp2ConnectionEncoder. pollSentSettings() | 
| Http2Settings | DecoratingHttp2ConnectionEncoder. pollSentSettings() | 
| Http2Settings | Http2Settings. pushEnabled(boolean enabled)Sets the  SETTINGS_ENABLE_PUSHvalue. | 
| Http2Settings | Http2SettingsFrame. settings() | 
| Http2Settings | DefaultHttp2SettingsFrame. settings() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected HttpToHttp2ConnectionHandler | HttpToHttp2ConnectionHandlerBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings) | 
| protected Http2MultiplexCodec | Http2MultiplexCodecBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings)已过时。  | 
| protected Http2FrameCodec | Http2FrameCodecBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings) | 
| protected Http2ConnectionHandler | Http2ConnectionHandlerBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings) | 
| protected abstract T | AbstractHttp2ConnectionHandlerBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings)Implement this method to create a new  Http2ConnectionHandleror its subtype instance. | 
| void | Http2SettingsReceivedConsumer. consumeReceivedSettings(Http2Settings settings)Consume the most recently received but not yet ACKed settings. | 
| void | DefaultHttp2ConnectionEncoder. consumeReceivedSettings(Http2Settings settings) | 
| void | DecoratingHttp2ConnectionEncoder. consumeReceivedSettings(Http2Settings settings) | 
| Http2Settings | Http2Settings. copyFrom(Http2Settings settings)Clears and then copies the given settings into this object. | 
| HttpToHttp2ConnectionHandlerBuilder | HttpToHttp2ConnectionHandlerBuilder. initialSettings(Http2Settings settings) | 
| Http2MultiplexCodecBuilder | Http2MultiplexCodecBuilder. initialSettings(Http2Settings settings)已过时。  | 
| Http2FrameCodecBuilder | Http2FrameCodecBuilder. initialSettings(Http2Settings settings) | 
| Http2ConnectionHandlerBuilder | Http2ConnectionHandlerBuilder. initialSettings(Http2Settings settings) | 
| protected B | AbstractHttp2ConnectionHandlerBuilder. initialSettings(Http2Settings settings)Sets the  Http2Settingsto use for the initial connection settings exchange. | 
| void | Http2FrameLogger. logSettings(Http2FrameLogger.Direction direction,
           ChannelHandlerContext ctx,
           Http2Settings settings) | 
| void | Http2ConnectionHandler. onHttpServerUpgrade(Http2Settings settings)Handles the server-side (cleartext) upgrade from HTTP to HTTP/2. | 
| void | InboundHttp2ToHttpAdapter. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) | 
| void | Http2FrameListenerDecorator. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) | 
| void | Http2FrameListener. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings)Handles an inbound  SETTINGSframe. | 
| void | Http2FrameAdapter. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) | 
| void | Http2EventAdapter. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) | 
| void | StreamBufferingEncoder. remoteSettings(Http2Settings settings) | 
| void | Http2ConnectionEncoder. remoteSettings(Http2Settings settings)Sets the settings for the remote endpoint of the HTTP/2 connection. | 
| void | DefaultHttp2ConnectionEncoder. remoteSettings(Http2Settings settings) | 
| void | DecoratingHttp2ConnectionEncoder. remoteSettings(Http2Settings settings) | 
| ChannelFuture | Http2OutboundFrameLogger. writeSettings(ChannelHandlerContext ctx,
             Http2Settings settings,
             ChannelPromise promise) | 
| ChannelFuture | Http2FrameWriter. writeSettings(ChannelHandlerContext ctx,
             Http2Settings settings,
             ChannelPromise promise)Writes a SETTINGS frame to the remote endpoint. | 
| ChannelFuture | DefaultHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx,
             Http2Settings settings,
             ChannelPromise promise) | 
| ChannelFuture | DefaultHttp2ConnectionEncoder. writeSettings(ChannelHandlerContext ctx,
             Http2Settings settings,
             ChannelPromise promise) | 
| ChannelFuture | DecoratingHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx,
             Http2Settings settings,
             ChannelPromise promise) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected HelloWorldHttp2Handler | HelloWorldHttp2HandlerBuilder. build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings) | 
| void | HelloWorldHttp2Handler. onSettingsRead(ChannelHandlerContext ctx,
              Http2Settings settings) |