Class StateKey
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.server.handler.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 Summary
Fields Modifier and Type Field Description static io.netty.util.AttributeKey<AuthenticatedUser>
AUTHENTICATED_USER
The key for the currentAuthenticatedUser
.static io.netty.util.AttributeKey<org.apache.commons.lang3.tuple.Pair<LocalDateTime,List<RequestMessage>>>
DEFERRED_REQUEST_MESSAGES
The key for the deferred requests.static io.netty.util.AttributeKey<Authenticator.SaslNegotiator>
NEGOTIATOR
The key for the current SASL negotiator.static io.netty.util.AttributeKey<RequestMessage>
REQUEST_MESSAGE
The key for the current request.static io.netty.util.AttributeKey<MessageSerializer<?>>
SERIALIZER
The key for the current serializer requested by the client.static io.netty.util.AttributeKey<Session>
SESSION
The key for the currentSession
object.static io.netty.util.AttributeKey<Boolean>
USE_BINARY
The key to indicate if the serializer should use its binary format.
-
-
-
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 currentSession
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.
-
AUTHENTICATED_USER
public static final io.netty.util.AttributeKey<AuthenticatedUser> AUTHENTICATED_USER
The key for the currentAuthenticatedUser
.
-
-