public enum AtmosphereTransport extends Enum<AtmosphereTransport>
Enum Constant and Description |
---|
JSONP |
LONG_POLLING |
POLLING |
SSE |
STREAMING |
WEBSOCKET |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AtmosphereTransport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtmosphereTransport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtmosphereTransport POLLING
public static final AtmosphereTransport LONG_POLLING
public static final AtmosphereTransport STREAMING
public static final AtmosphereTransport JSONP
public static final AtmosphereTransport SSE
public static final AtmosphereTransport WEBSOCKET
public static AtmosphereTransport[] values()
for (AtmosphereTransport c : AtmosphereTransport.values()) System.out.println(c);
public static AtmosphereTransport 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<AtmosphereTransport>
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.