public static enum TyrusEndpointWrapper.SessionListener.OnOpenResult extends Enum<TyrusEndpointWrapper.SessionListener.OnOpenResult>
Enum Constant and Description |
---|
MAX_SESSIONS_PER_APP_EXCEEDED
Session cannot be opened - the maximal number of open session per application exceeded.
|
MAX_SESSIONS_PER_REMOTE_ADDR_EXCEEDED
Session cannot be opened - the maximal number of open session per remote address exceeded.
|
SESSION_ALLOWED
Session can be opened.
|
Modifier and Type | Method and Description |
---|---|
static TyrusEndpointWrapper.SessionListener.OnOpenResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TyrusEndpointWrapper.SessionListener.OnOpenResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TyrusEndpointWrapper.SessionListener.OnOpenResult SESSION_ALLOWED
public static final TyrusEndpointWrapper.SessionListener.OnOpenResult MAX_SESSIONS_PER_APP_EXCEEDED
public static final TyrusEndpointWrapper.SessionListener.OnOpenResult MAX_SESSIONS_PER_REMOTE_ADDR_EXCEEDED
public static TyrusEndpointWrapper.SessionListener.OnOpenResult[] values()
for (TyrusEndpointWrapper.SessionListener.OnOpenResult c : TyrusEndpointWrapper.SessionListener.OnOpenResult.values()) System.out.println(c);
public static TyrusEndpointWrapper.SessionListener.OnOpenResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.