org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
Enum Transports.Type
java.lang.Object
java.lang.Enum<Transports.Type>
org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports.Type
- All Implemented Interfaces:
- Serializable, Comparable<Transports.Type>
- Enclosing class:
- Transports
public static enum Transports.Type
- extends Enum<Transports.Type>
WEBSOCKET
public static final Transports.Type WEBSOCKET
XHR
public static final Transports.Type XHR
XHR_SEND
public static final Transports.Type XHR_SEND
XHR_STREAMING
public static final Transports.Type XHR_STREAMING
JSONP
public static final Transports.Type JSONP
JSONP_SEND
public static final Transports.Type JSONP_SEND
EVENTSOURCE
public static final Transports.Type EVENTSOURCE
HTMLFILE
public static final Transports.Type HTMLFILE
values
public static Transports.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Transports.Type c : Transports.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Transports.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
path
public String path()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.