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