程序包 | 说明 |
---|---|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 类和说明 |
---|---|
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. |
class |
InboundHttp2ToHttpAdapter
This adapter provides just header/data events from the HTTP message flow defined
in [RFC 7540], Section 8.1.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Http2Connection.addListener(Http2Connection.Listener listener)
Adds a listener of stream life-cycle events.
|
void |
DefaultHttp2Connection.addListener(Http2Connection.Listener listener) |
void |
Http2Connection.removeListener(Http2Connection.Listener listener)
Removes a listener of stream life-cycle events.
|
void |
DefaultHttp2Connection.removeListener(Http2Connection.Listener listener) |