| Modifier and Type | Method and Description |
|---|---|
QuicStreamType |
QuicStreamChannel.type()
Returns the
QuicStreamType of the stream. |
static QuicStreamType |
QuicStreamType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuicStreamType[] |
QuicStreamType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default io.netty.util.concurrent.Future<QuicStreamChannel> |
QuicChannel.createStream(QuicStreamType type,
@Nullable io.netty.channel.ChannelHandler handler)
Creates a stream that is using this
QuicChannel and notifies the Future once done. |
io.netty.util.concurrent.Future<QuicStreamChannel> |
QuicChannel.createStream(QuicStreamType type,
@Nullable io.netty.channel.ChannelHandler handler,
io.netty.util.concurrent.Promise<QuicStreamChannel> promise)
Creates a stream that is using this
QuicChannel and notifies the Promise once done. |
long |
QuicChannel.peerAllowedStreams(QuicStreamType type)
Returns the number of streams that can be created before stream creation will fail
with
QuicTransportError.STREAM_LIMIT_ERROR error. |
QuicStreamChannelBootstrap |
QuicStreamChannelBootstrap.type(QuicStreamType type)
|
Copyright © 2020-2024 The Netty Project. All Rights Reserved.