Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Class and Description |
---|---|
class |
Http2ConnectionAdapter
Provides empty implementations of all
Http2Connection.Listener methods. |
class |
Http2EventAdapter
This class brings
Http2Connection.Listener and Http2FrameListener together to provide
NOOP implementation so inheriting classes can selectively choose which methods to override. |
private class |
Http2FrameCodec.ConnectionListener |
class |
InboundHttp2ToHttpAdapter
This adapter provides just header/data events from the HTTP message flow defined
here HTTP/2 Spec Message Flow.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<Http2Connection.Listener> |
DefaultHttp2Connection.listeners
We chose a
List over a Set to avoid allocating an Iterator objects when iterating over
the listeners. |
private java.util.List<Http2Connection.Listener> |
DefaultHttp2Connection.ActiveStreams.listeners |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHttp2Connection.addListener(Http2Connection.Listener listener) |
void |
Http2Connection.addListener(Http2Connection.Listener listener)
Adds a listener of stream life-cycle events.
|
void |
DefaultHttp2Connection.removeListener(Http2Connection.Listener listener) |
void |
Http2Connection.removeListener(Http2Connection.Listener listener)
Removes a listener of stream life-cycle events.
|
Constructor and Description |
---|
ActiveStreams(java.util.List<Http2Connection.Listener> listeners) |