public static enum SessionAttributes.Transport extends Enum<SessionAttributes.Transport>
SessionFactory| Enum Constant and Description |
|---|
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
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 © 2025 DiffusionData Limited. All rights reserved.