public static enum Request.TRANSPORT extends java.lang.Enum<Request.TRANSPORT>
| Enum Constant and Description |
|---|
LONG_POLLING |
SSE |
STREAMING |
WEBSOCKET |
| Modifier and Type | Method and Description |
|---|---|
static Request.TRANSPORT |
valueOf(java.lang.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(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 © 2019. All Rights Reserved.