public static enum Request.TRANSPORT extends Enum<Request.TRANSPORT>
Enum Constant and Description |
---|
LONG_POLLING |
SSE |
STREAMING |
WEBSOCKET |
Modifier and Type | Method and Description |
---|---|
static Request.TRANSPORT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.TRANSPORT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.TRANSPORT WEBSOCKET
public static final Request.TRANSPORT SSE
public static final Request.TRANSPORT STREAMING
public static final Request.TRANSPORT LONG_POLLING
public static Request.TRANSPORT[] values()
for (Request.TRANSPORT c : Request.TRANSPORT.values()) System.out.println(c);
public static Request.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 © 2015. All Rights Reserved.