Class Http2StreamChannelOption<T>

  • Type Parameters:
    T - the type of the value which is valid for the ChannelOption
    All Implemented Interfaces:
    io.netty.util.Constant<io.netty.channel.ChannelOption<T>>, Comparable<io.netty.channel.ChannelOption<T>>

    public final class Http2StreamChannelOption<T>
    extends io.netty.channel.ChannelOption<T>
    ChannelOptions that are specific to Http2StreamChannels.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.netty.channel.ChannelOption<Boolean> AUTO_STREAM_FLOW_CONTROL
      When set to true Http2WindowUpdateFrames will be automatically be generated and written for Http2StreamChannels as soon as frames are passed to the user via ChannelPipeline.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, RECVBUF_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
    • Method Summary

      • Methods inherited from class io.netty.channel.ChannelOption

        exists, newInstance, validate, valueOf, valueOf
      • Methods inherited from class io.netty.util.AbstractConstant

        compareTo, equals, hashCode, id, name, toString
    • Field Detail

      • AUTO_STREAM_FLOW_CONTROL

        public static final io.netty.channel.ChannelOption<Boolean> AUTO_STREAM_FLOW_CONTROL
        When set to true Http2WindowUpdateFrames will be automatically be generated and written for Http2StreamChannels 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 Http2WindowUpdateFrames and eventually write these to the channel.

        See RFC9113 5.2. Flow Control for more details.