public static enum TyrusEndpointWrapper.SessionListener.OnOpenResult extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2012–2020 Oracle Corporation. All rights reserved.