| Package | Description | 
|---|---|
| io.netty.handler.codec.http2 | 
 Handlers for sending and receiving HTTP/2 frames. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CompressorHttp2ConnectionEncoder
A decorating HTTP2 encoder that will compress data frames according to the  
content-encoding header for each
 stream. | 
class  | 
DecoratingHttp2ConnectionEncoder
A decorator around another  
Http2ConnectionEncoder instance. | 
class  | 
DefaultHttp2ConnectionEncoder
Default implementation of  
Http2ConnectionEncoder. | 
class  | 
StreamBufferingEncoder
Implementation of a  
Http2ConnectionEncoder that dispatches all method call to another
 Http2ConnectionEncoder, until SETTINGS_MAX_CONCURRENT_STREAMS is reached. | 
| Modifier and Type | Method and Description | 
|---|---|
protected Http2ConnectionEncoder | 
AbstractHttp2ConnectionHandlerBuilder.encoder()
Returns the  
Http2ConnectionEncoder to use. | 
Http2ConnectionEncoder | 
Http2ConnectionHandler.encoder()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Http2MultiplexCodec | 
Http2MultiplexCodecBuilder.build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings)
Deprecated.  
  | 
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  
Http2ConnectionHandler or its subtype instance. | 
protected HttpToHttp2ConnectionHandler | 
HttpToHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings)  | 
protected Http2FrameCodec | 
Http2FrameCodecBuilder.build(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder,
     Http2Settings initialSettings)  | 
Http2ConnectionHandlerBuilder | 
Http2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder)  | 
protected B | 
AbstractHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder)
Sets the  
Http2ConnectionDecoder and Http2ConnectionEncoder to use. | 
HttpToHttp2ConnectionHandlerBuilder | 
HttpToHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
     Http2ConnectionEncoder encoder)  | 
Copyright © 2008–2025 The Netty Project. All rights reserved.