public static enum SessionAttributes.Transport extends Enum<SessionAttributes.Transport>
SessionFactory
Enum Constant and Description |
---|
DPT
Deprecated.
since 5.9
The DPT transport is deprecated and will be removed in a future release. Prefer the WebSocket transport. |
HTTP_DUPLEX
Deprecated.
since 5.7
The HTTP Duplex transport is deprecated and will be removed in the future. Prefer the WebSocket transport. |
HTTP_POLLING
HTTP long polling transport.
|
WEBSOCKET
WebSocket transport.
|
Modifier and Type | Method and Description |
---|---|
static SessionAttributes.Transport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionAttributes.Transport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionAttributes.Transport WEBSOCKET
public static final SessionAttributes.Transport HTTP_POLLING
@Deprecated public static final SessionAttributes.Transport DPT
The DPT transport is deprecated and will be removed in a future release. Prefer the WebSocket transport.
@Deprecated public static final SessionAttributes.Transport HTTP_DUPLEX
The HTTP Duplex transport is deprecated and will be removed in the future. Prefer the WebSocket transport.
public static SessionAttributes.Transport[] values()
for (SessionAttributes.Transport c : SessionAttributes.Transport.values()) System.out.println(c);
public static SessionAttributes.Transport 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 © 2016 Push Technology Ltd. All Rights Reserved.