public enum ControlFrameType extends Enum<ControlFrameType>
Enum Constant and Description |
---|
CREDENTIAL |
GO_AWAY |
HEADERS |
NOOP |
PING |
RST_STREAM |
SETTINGS |
SYN_REPLY |
SYN_STREAM |
WINDOW_UPDATE |
Modifier and Type | Method and Description |
---|---|
static ControlFrameType |
from(short code) |
short |
getCode() |
static ControlFrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlFrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlFrameType SYN_STREAM
public static final ControlFrameType SYN_REPLY
public static final ControlFrameType RST_STREAM
public static final ControlFrameType SETTINGS
public static final ControlFrameType NOOP
public static final ControlFrameType PING
public static final ControlFrameType GO_AWAY
public static final ControlFrameType HEADERS
public static final ControlFrameType WINDOW_UPDATE
public static final ControlFrameType CREDENTIAL
public static ControlFrameType[] values()
for (ControlFrameType c : ControlFrameType.values()) System.out.println(c);
public static ControlFrameType 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 nullpublic static ControlFrameType from(short code)
public short getCode()
Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.