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 |
---|---|
Http2ConnectionEncoder |
Http2ConnectionHandler.encoder() |
protected Http2ConnectionEncoder |
AbstractHttp2ConnectionHandlerBuilder.encoder()
Returns the
Http2ConnectionEncoder to use. |
Modifier and Type | Method and Description |
---|---|
protected HttpToHttp2ConnectionHandler |
HttpToHttp2ConnectionHandlerBuilder.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
Http2ConnectionHandler or its subtype instance. |
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder) |
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder) |
protected B |
AbstractHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder)
Sets the
Http2ConnectionDecoder and Http2ConnectionEncoder to use. |
Copyright © 2008–2017 The Netty Project. All rights reserved.