Package io.netty.handler.codec.http2
Class Http2StreamChannelOption<T>
java.lang.Object
io.netty.util.AbstractConstant<ChannelOption<T>>
io.netty.channel.ChannelOption<T>
io.netty.handler.codec.http2.Http2StreamChannelOption<T>
- Type Parameters:
T
- the type of the value which is valid for theChannelOption
- All Implemented Interfaces:
Constant<ChannelOption<T>>
,Comparable<ChannelOption<T>>
ChannelOption
s that are specific to Http2StreamChannel
s.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChannelOption
<Boolean> When set totrue
Http2WindowUpdateFrame
s will be automatically be generated and written forHttp2StreamChannel
s as soon as frames are passed to the user viaChannelPipeline.fireChannelRead(Object)
.Fields inherited from class io.netty.channel.ChannelOption
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.netty.channel.ChannelOption
exists, newInstance, validate, valueOf, valueOf
-
Field Details
-
AUTO_STREAM_FLOW_CONTROL
When set totrue
Http2WindowUpdateFrame
s will be automatically be generated and written forHttp2StreamChannel
s as soon as frames are passed to the user viaChannelPipeline.fireChannelRead(Object)
. If the user wants more control on when a window update is send its possible to set it tofalse
. In this case the user is responsible to generate the correctHttp2WindowUpdateFrame
s and eventually write these to the channel.See RFC9113 5.2. Flow Control for more details.
-
-
Constructor Details
-
Http2StreamChannelOption
-