play.server.hybi10
Enum Hybi10WebSocketFrameDecoder.State

java.lang.Object
  extended by java.lang.Enum<Hybi10WebSocketFrameDecoder.State>
      extended by play.server.hybi10.Hybi10WebSocketFrameDecoder.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Hybi10WebSocketFrameDecoder.State>
Enclosing class:
Hybi10WebSocketFrameDecoder

public static enum Hybi10WebSocketFrameDecoder.State
extends java.lang.Enum<Hybi10WebSocketFrameDecoder.State>


Enum Constant Summary
FRAME_START
           
MASKING_KEY
           
PARSING_LENGTH
           
PARSING_LENGTH_2
           
PARSING_LENGTH_3
           
PAYLOAD
           
 
Method Summary
static Hybi10WebSocketFrameDecoder.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Hybi10WebSocketFrameDecoder.State[] 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

FRAME_START

public static final Hybi10WebSocketFrameDecoder.State FRAME_START

PARSING_LENGTH

public static final Hybi10WebSocketFrameDecoder.State PARSING_LENGTH

MASKING_KEY

public static final Hybi10WebSocketFrameDecoder.State MASKING_KEY

PARSING_LENGTH_2

public static final Hybi10WebSocketFrameDecoder.State PARSING_LENGTH_2

PARSING_LENGTH_3

public static final Hybi10WebSocketFrameDecoder.State PARSING_LENGTH_3

PAYLOAD

public static final Hybi10WebSocketFrameDecoder.State PAYLOAD
Method Detail

values

public static Hybi10WebSocketFrameDecoder.State[] 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 (Hybi10WebSocketFrameDecoder.State c : Hybi10WebSocketFrameDecoder.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Hybi10WebSocketFrameDecoder.State valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly