@UnstableApi public final class ForkedHttp2StreamChannelBootstrap extends Object
Constructor and Description |
---|
ForkedHttp2StreamChannelBootstrap(io.netty.channel.Channel channel) |
Modifier and Type | Method and Description |
---|---|
<T> ForkedHttp2StreamChannelBootstrap |
attr(io.netty.util.AttributeKey<T> key,
T value)
Allow to specify an initial attribute of the newly created
Http2StreamChannel . |
ForkedHttp2StreamChannelBootstrap |
handler(io.netty.channel.ChannelHandler handler)
the
ChannelHandler to use for serving the requests. |
io.netty.util.concurrent.Future<io.netty.handler.codec.http2.Http2StreamChannel> |
open() |
io.netty.util.concurrent.Future<io.netty.handler.codec.http2.Http2StreamChannel> |
open(io.netty.util.concurrent.Promise<io.netty.handler.codec.http2.Http2StreamChannel> promise) |
void |
open0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.util.concurrent.Promise<io.netty.handler.codec.http2.Http2StreamChannel> promise) |
<T> ForkedHttp2StreamChannelBootstrap |
option(io.netty.channel.ChannelOption<T> option,
T value)
Allow to specify a
ChannelOption which is used for the Http2StreamChannel instances once they got
created. |
public ForkedHttp2StreamChannelBootstrap(io.netty.channel.Channel channel)
public <T> ForkedHttp2StreamChannelBootstrap option(io.netty.channel.ChannelOption<T> option, T value)
ChannelOption
which is used for the Http2StreamChannel
instances once they got
created. Use a value of null
to remove a previous set ChannelOption
.public <T> ForkedHttp2StreamChannelBootstrap attr(io.netty.util.AttributeKey<T> key, T value)
Http2StreamChannel
. If the value
is
null
, the attribute of the specified key
is removed.public ForkedHttp2StreamChannelBootstrap handler(io.netty.channel.ChannelHandler handler)
ChannelHandler
to use for serving the requests.public io.netty.util.concurrent.Future<io.netty.handler.codec.http2.Http2StreamChannel> open()
public io.netty.util.concurrent.Future<io.netty.handler.codec.http2.Http2StreamChannel> open(io.netty.util.concurrent.Promise<io.netty.handler.codec.http2.Http2StreamChannel> promise)
public void open0(io.netty.channel.ChannelHandlerContext ctx, io.netty.util.concurrent.Promise<io.netty.handler.codec.http2.Http2StreamChannel> promise)
Copyright © 2019. All rights reserved.