public static enum Transports.Type extends Enum<Transports.Type>
| Enum Constant and Description |
|---|
EVENTSOURCE |
HTMLFILE |
JSONP |
JSONP_SEND |
WEBSOCKET |
XHR |
XHR_SEND |
XHR_STREAMING |
| Modifier and Type | Method and Description |
|---|---|
String |
path() |
static Transports.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transports.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transports.Type WEBSOCKET
public static final Transports.Type XHR
public static final Transports.Type XHR_SEND
public static final Transports.Type XHR_STREAMING
public static final Transports.Type JSONP
public static final Transports.Type JSONP_SEND
public static final Transports.Type EVENTSOURCE
public static final Transports.Type HTMLFILE
public static Transports.Type[] values()
for (Transports.Type c : Transports.Type.values()) System.out.println(c);
public static Transports.Type 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 path()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.