Class StateKey


  • public final class StateKey
    extends Object
    Keys used in the various handlers to store state in the pipeline.
    Author:
    Stephen Mallette (http://stephen.genoprime.com)
    • Field Detail

      • SERIALIZER

        public static final io.netty.util.AttributeKey<org.javatuples.Pair<String,​MessageSerializer<?>>> SERIALIZER
        The key for the current serializer requested by the client.
      • REQUEST_HEADERS

        public static final io.netty.util.AttributeKey<io.netty.handler.codec.http.HttpHeaders> REQUEST_HEADERS
        The key for the current request headers.
      • REQUEST_ID

        public static final io.netty.util.AttributeKey<UUID> REQUEST_ID
        The key for the current request ID.
      • HTTP_RESPONSE_SENT

        public static final io.netty.util.AttributeKey<Boolean> HTTP_RESPONSE_SENT
        The key for whether a HttpResponse has been sent for the current response.