public enum SockJsFrameType extends Enum<SockJsFrameType>
Modifier and Type | Method and Description |
---|---|
static SockJsFrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SockJsFrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SockJsFrameType OPEN
public static final SockJsFrameType HEARTBEAT
public static final SockJsFrameType MESSAGE
public static final SockJsFrameType CLOSE
public static SockJsFrameType[] values()
for (SockJsFrameType c : SockJsFrameType.values()) System.out.println(c);
public static SockJsFrameType 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 null