Package org.glassfish.tyrus.core.cluster
Enum RemoteSession.DistributedMapKey
- java.lang.Object
-
- java.lang.Enum<RemoteSession.DistributedMapKey>
-
- org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RemoteSession.DistributedMapKey>
- Enclosing class:
- RemoteSession
public static enum RemoteSession.DistributedMapKey extends java.lang.Enum<RemoteSession.DistributedMapKey> implements java.io.Serializable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_ID
Cluster connection Id.MAX_BINARY_MESSAGE_BUFFER_SIZE
Max binary buffer size.MAX_IDLE_TIMEOUT
Max idle timeout.MAX_TEXT_MESSAGE_BUFFER_SIZE
Max text buffer size.NEGOTIATED_EXTENSIONS
Negotiated extensions.NEGOTIATED_SUBPROTOCOL
Negotiated subprotocol.PATH_PARAMETERS
Path parameters.QUERY_STRING
Query string.REQUEST_PARAMETER_MAP
Request Parameter map.REQUEST_URI
Request URI.SECURE
Secure flag.USER_PRINCIPAL
User principal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static RemoteSession.DistributedMapKey
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RemoteSession.DistributedMapKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEGOTIATED_SUBPROTOCOL
public static final RemoteSession.DistributedMapKey NEGOTIATED_SUBPROTOCOL
Negotiated subprotocol.Value must be
String
.- See Also:
Session.getNegotiatedSubprotocol()
-
NEGOTIATED_EXTENSIONS
public static final RemoteSession.DistributedMapKey NEGOTIATED_EXTENSIONS
Negotiated extensions.Value must be
List
<Extension
>.- See Also:
Session.getNegotiatedExtensions()
-
SECURE
public static final RemoteSession.DistributedMapKey SECURE
Secure flag.Value must be
boolean
orBoolean
.- See Also:
Session.isSecure()
-
MAX_IDLE_TIMEOUT
public static final RemoteSession.DistributedMapKey MAX_IDLE_TIMEOUT
Max idle timeout.Value must be
long
orLong
.- See Also:
Session.getMaxIdleTimeout()
-
MAX_BINARY_MESSAGE_BUFFER_SIZE
public static final RemoteSession.DistributedMapKey MAX_BINARY_MESSAGE_BUFFER_SIZE
Max binary buffer size.Value must be
int
orInteger
.- See Also:
Session.getMaxBinaryMessageBufferSize()
-
MAX_TEXT_MESSAGE_BUFFER_SIZE
public static final RemoteSession.DistributedMapKey MAX_TEXT_MESSAGE_BUFFER_SIZE
Max text buffer size.Value must be
int
orInteger
.- See Also:
Session.getMaxTextMessageBufferSize()
-
REQUEST_URI
public static final RemoteSession.DistributedMapKey REQUEST_URI
Request URI.Value must be
URI
.- See Also:
Session.getRequestURI()
-
REQUEST_PARAMETER_MAP
public static final RemoteSession.DistributedMapKey REQUEST_PARAMETER_MAP
Request Parameter map.Value must be
Map
<String
,List
<String
>>.- See Also:
Session.getRequestParameterMap()
-
QUERY_STRING
public static final RemoteSession.DistributedMapKey QUERY_STRING
Query string.Value must be
String
.- See Also:
Session.getQueryString()
-
PATH_PARAMETERS
public static final RemoteSession.DistributedMapKey PATH_PARAMETERS
Path parameters.Value must be
Map
<String
,String
>.- See Also:
Session.getPathParameters()
-
USER_PRINCIPAL
public static final RemoteSession.DistributedMapKey USER_PRINCIPAL
User principal.Value must be
Principal
.- See Also:
Session.getUserPrincipal()
-
CONNECTION_ID
public static final RemoteSession.DistributedMapKey CONNECTION_ID
Cluster connection Id. (internal property).Value must be
String
.
-
-
Method Detail
-
values
public static RemoteSession.DistributedMapKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RemoteSession.DistributedMapKey c : RemoteSession.DistributedMapKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoteSession.DistributedMapKey valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<RemoteSession.DistributedMapKey>
-
-