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