AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
Enum Transports.Type

java.lang.Object
  extended by java.lang.Enum<Transports.Type>
      extended by 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>


Enum Constant Summary
EVENTSOURCE
           
HTMLFILE
           
JSONP
           
JSONP_SEND
           
WEBSOCKET
           
XHR
           
XHR_SEND
           
XHR_STREAMING
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.