程序包 | 说明 |
---|---|
io.netty.example.http2.helloworld.server | |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 类和说明 |
---|---|
class |
HelloWorldHttp2Handler
A simple handler that responds with the message "Hello World!".
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractHttp2ConnectionHandlerBuilder<T extends Http2ConnectionHandler,B extends AbstractHttp2ConnectionHandlerBuilder<T,B>>
Abstract base class which defines commonly used features required to build
Http2ConnectionHandler instances. |
限定符和类型 | 类和说明 |
---|---|
class |
Http2FrameCodec
This API is very immature.
|
class |
Http2MultiplexCodec
已过时。
use
Http2FrameCodecBuilder together with Http2MultiplexHandler . |
class |
HttpToHttp2ConnectionHandler
Translates HTTP/1.x object writes into HTTP/2 frames.
|
限定符和类型 | 方法和说明 |
---|---|
Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build() |
protected Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
构造器和说明 |
---|
Http2ClientUpgradeCodec(Http2ConnectionHandler connectionHandler)
Creates the codec using a default name for the connection handler when adding to the
pipeline.
|
Http2ClientUpgradeCodec(Http2ConnectionHandler connectionHandler,
Http2MultiplexHandler http2MultiplexHandler)
Creates the codec using a default name for the connection handler when adding to the
pipeline.
|
Http2ClientUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler)
Creates the codec providing an upgrade to the given handler for HTTP/2.
|
Http2ClientUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler,
Http2MultiplexHandler http2MultiplexHandler)
Creates the codec providing an upgrade to the given handler for HTTP/2.
|
Http2ServerUpgradeCodec(Http2ConnectionHandler connectionHandler)
Creates the codec using a default name for the connection handler when adding to the
pipeline.
|
Http2ServerUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler)
Creates the codec providing an upgrade to the given handler for HTTP/2.
|