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<MessageSerializer<?>> SERIALIZER
        The key for the current serializer requested by the client.
      • USE_BINARY

        public static final io.netty.util.AttributeKey<Boolean> USE_BINARY
        The key to indicate if the serializer should use its binary format.
      • SESSION

        public static final io.netty.util.AttributeKey<Session> SESSION
        The key for the current Session object.
      • NEGOTIATOR

        public static final io.netty.util.AttributeKey<Authenticator.SaslNegotiator> NEGOTIATOR
        The key for the current SASL negotiator.
      • REQUEST_MESSAGE

        public static final io.netty.util.AttributeKey<RequestMessage> REQUEST_MESSAGE
        The key for the current request.
      • DEFERRED_REQUEST_MESSAGES

        public static final io.netty.util.AttributeKey<org.apache.commons.lang3.tuple.Pair<LocalDateTime,​List<RequestMessage>>> DEFERRED_REQUEST_MESSAGES
        The key for the deferred requests.