| 软件包 | 描述 |
|---|---|
| io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
| Modifier and Type | Class and Description |
|---|---|
class |
Http2ConnectionAdapter
提供所有 Http2Connection.Listener方法的空白实现。
|
class |
Http2EventAdapter
此类将 Http2Connection.Listener和Http2FrameListener带到一起以提供NOOP实现,以便继承类可以选择性地选择要覆盖的方法。
|
class |
InboundHttp2ToHttpAdapter
|
| Modifier and Type | Method and Description |
|---|---|
void |
Http2Connection.addListener(Http2Connection.Listener listener)
添加流生命周期事件的侦听器。
|
void |
DefaultHttp2Connection.addListener(Http2Connection.Listener listener) |
void |
Http2Connection.removeListener(Http2Connection.Listener listener)
删除流生命周期事件的监听器。
|
void |
DefaultHttp2Connection.removeListener(Http2Connection.Listener listener) |
Copyright © 2008–2018 The Netty Project. All rights reserved.