T
- the type of the value which is valid for the ChannelOption
public final class Http2StreamChannelOption<T> extends ChannelOption<T>
ChannelOption
s that are specific to Http2StreamChannel
s.Modifier and Type | Field and Description |
---|---|
static ChannelOption<Boolean> |
AUTO_STREAM_FLOW_CONTROL
When set to
true Http2WindowUpdateFrame s will be automatically be generated and written for
Http2StreamChannel s as soon as frames are passed to the user via
ChannelPipeline.fireChannelRead(Object) . |
ALLOCATOR, ALLOW_HALF_CLOSURE, AUTO_CLOSE, AUTO_READ, CONNECT_TIMEOUT_MILLIS, DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION, IP_MULTICAST_ADDR, IP_MULTICAST_IF, IP_MULTICAST_LOOP_DISABLED, IP_MULTICAST_TTL, IP_TOS, MAX_MESSAGES_PER_READ, MAX_MESSAGES_PER_WRITE, MESSAGE_SIZE_ESTIMATOR, RCVBUF_ALLOCATOR, SINGLE_EVENTEXECUTOR_PER_GROUP, SO_BACKLOG, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_FASTOPEN, TCP_FASTOPEN_CONNECT, TCP_NODELAY, WRITE_BUFFER_HIGH_WATER_MARK, WRITE_BUFFER_LOW_WATER_MARK, WRITE_BUFFER_WATER_MARK, WRITE_SPIN_COUNT
exists, newInstance, validate, valueOf, valueOf
public static final ChannelOption<Boolean> AUTO_STREAM_FLOW_CONTROL
true
Http2WindowUpdateFrame
s will be automatically be generated and written for
Http2StreamChannel
s as soon as frames are passed to the user via
ChannelPipeline.fireChannelRead(Object)
. If the user wants more control on when a
window update is send its possible to set it to false
. In this case the user is responsible to
generate the correct Http2WindowUpdateFrame
s and eventually write these to the channel.
See RFC9113 5.2. Flow Control for more details.
Copyright © 2008–2025 The Netty Project. All rights reserved.