Class ChannelAttributeKey


  • public final class ChannelAttributeKey
    extends Object
    Keys for attributes attached via AttributeMap.attr(AttributeKey).
    • Field Detail

      • PROTOCOL_FUTURE

        public static final io.netty.util.AttributeKey<CompletableFuture<Protocol>> PROTOCOL_FUTURE
        Future that when a protocol (http/1.1 or h2) has been selected.
      • PING_TRACKER

        public static final io.netty.util.AttributeKey<PingTracker> PING_TRACKER
      • HTTP2_CONNECTION

        public static final io.netty.util.AttributeKey<io.netty.handler.codec.http2.Http2Connection> HTTP2_CONNECTION
      • HTTP2_INITIAL_WINDOW_SIZE

        public static final io.netty.util.AttributeKey<Integer> HTTP2_INITIAL_WINDOW_SIZE
      • MAX_CONCURRENT_STREAMS

        public static final io.netty.util.AttributeKey<Long> MAX_CONCURRENT_STREAMS
        Value of the MAX_CONCURRENT_STREAMS from the server's SETTING frame.
      • HTTP2_FRAME_STREAM

        public static final io.netty.util.AttributeKey<io.netty.handler.codec.http2.Http2FrameStream> HTTP2_FRAME_STREAM
        The Http2FrameStream associated with this stream channel. This is added to stream channels when they are created, before they are fully initialized.
      • CHANNEL_DIAGNOSTICS

        public static final io.netty.util.AttributeKey<ChannelDiagnostics> CHANNEL_DIAGNOSTICS
      • STREAMING_COMPLETE_KEY

        public static final io.netty.util.AttributeKey<Boolean> STREAMING_COMPLETE_KEY
        AttributeKey to keep track of whether the streaming is completed and this is set to true when we receive the * LastHttpContent.