org.webbitserver.netty
Enum HybiWebSocketFrameDecoder.State

java.lang.Object
  extended by java.lang.Enum<HybiWebSocketFrameDecoder.State>
      extended by org.webbitserver.netty.HybiWebSocketFrameDecoder.State
All Implemented Interfaces:
Serializable, Comparable<HybiWebSocketFrameDecoder.State>
Enclosing class:
HybiWebSocketFrameDecoder

public static enum HybiWebSocketFrameDecoder.State
extends Enum<HybiWebSocketFrameDecoder.State>


Enum Constant Summary
CORRUPT
           
FRAME_START
           
MASKING_KEY
           
PAYLOAD
           
 
Method Summary
static HybiWebSocketFrameDecoder.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HybiWebSocketFrameDecoder.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 HybiWebSocketFrameDecoder.State FRAME_START

MASKING_KEY

public static final HybiWebSocketFrameDecoder.State MASKING_KEY

PAYLOAD

public static final HybiWebSocketFrameDecoder.State PAYLOAD

CORRUPT

public static final HybiWebSocketFrameDecoder.State CORRUPT
Method Detail

values

public static HybiWebSocketFrameDecoder.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 (HybiWebSocketFrameDecoder.State c : HybiWebSocketFrameDecoder.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 HybiWebSocketFrameDecoder.State 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


Copyright © 2013. All Rights Reserved.