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>>
ChannelOptions that are specific to Http2StreamChannels.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChannelOption<Boolean> When set totrueHttp2WindowUpdateFrames will be automatically be generated and written forHttp2StreamChannels as soon as frames are passed to the user viaChannelPipeline.fireChannelRead(Object).Fields inherited from class 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_COUNTModifier and TypeFieldDescriptionstatic final ChannelOption<ByteBufAllocator> static final ChannelOption<Boolean> static final ChannelOption<Boolean> Iftruethen theChannelis closed automatically and immediately on write failure.static final ChannelOption<Boolean> static final ChannelOption<Integer> static final ChannelOption<Boolean> Deprecated.static final ChannelOption<InetAddress> static final ChannelOption<NetworkInterface> static final ChannelOption<Boolean> static final ChannelOption<Integer> static final ChannelOption<Integer> static final ChannelOption<Integer> Deprecated.static final ChannelOption<Integer> static final ChannelOption<MessageSizeEstimator> static final ChannelOption<RecvByteBufAllocator> static final ChannelOption<Boolean> static final ChannelOption<Integer> static final ChannelOption<Boolean> static final ChannelOption<Boolean> static final ChannelOption<Integer> static final ChannelOption<Integer> static final ChannelOption<Boolean> static final ChannelOption<Integer> static final ChannelOption<Integer> static final ChannelOption<Integer> Server-side TCP FastOpen.static final ChannelOption<Boolean> Client-side TCP FastOpen.static final ChannelOption<Boolean> static final ChannelOption<Integer> Deprecated.static final ChannelOption<Integer> Deprecated.static final ChannelOption<WriteBufferWaterMark> static final ChannelOption<Integer> -
Method Summary
Methods inherited from class ChannelOption
exists, newInstance, validate, valueOf, valueOfModifier and TypeMethodDescriptionstatic booleanstatic <T> ChannelOption<T> newInstance(String name) Deprecated.voidValidate the value which is set for theChannelOption.static <T> ChannelOption<T> static <T> ChannelOption<T> Returns theChannelOptionof the specified name.
-
Field Details
-
AUTO_STREAM_FLOW_CONTROL
When set totrueHttp2WindowUpdateFrames will be automatically be generated and written forHttp2StreamChannels 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 correctHttp2WindowUpdateFrames and eventually write these to the channel.See RFC9113 5.2. Flow Control for more details.
-
MaxMessagesRecvByteBufAllocatorandMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int).