Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.attr(AttributeKey<T> key,
T value)
Specify attributes with an initial value to be set on newly created channels.
|
Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.group(EventLoopGroup group)
Sets the
EventLoop to which channels created with this bootstrap are registered. |
Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.handler(ChannelHandler handler)
Sets the channel handler that should be added to the channels's pipeline.
|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.option(ChannelOption<T> option,
T value)
Specify
ChannelOption s to be set on newly created channels. |
Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.parentChannel(Channel parent)
Sets the parent channel that must have the
Http2MultiplexCodec in its pipeline. |
Constructor and Description |
---|
Http2CodecBuilder(boolean server,
Http2StreamChannelBootstrap bootstrap)
Creates a new
Http2Codec builder. |
Http2MultiplexCodec(boolean server,
Http2StreamChannelBootstrap bootstrap)
Construct a new handler whose child channels run in a different event loop.
|
Copyright © 2008–2017 The Netty Project. All rights reserved.