Package org.hcjf.io.net.http.http2
Enum Http2Frame.Type
- java.lang.Object
-
- java.lang.Enum<Http2Frame.Type>
-
- org.hcjf.io.net.http.http2.Http2Frame.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Http2Frame.Type>,java.lang.constant.Constable
- Enclosing class:
- Http2Frame
protected static enum Http2Frame.Type extends java.lang.Enum<Http2Frame.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUATIONDATAGO_AWAYHEADERSPINGPRIORITYPUSH_PROMISERST_STREAMSETTINGSWINDOW_UPDATE
-
Method Summary
Modifier and Type Method Description bytegetId()static Http2Frame.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Http2Frame.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA
public static final Http2Frame.Type DATA
-
HEADERS
public static final Http2Frame.Type HEADERS
-
PRIORITY
public static final Http2Frame.Type PRIORITY
-
RST_STREAM
public static final Http2Frame.Type RST_STREAM
-
SETTINGS
public static final Http2Frame.Type SETTINGS
-
PUSH_PROMISE
public static final Http2Frame.Type PUSH_PROMISE
-
PING
public static final Http2Frame.Type PING
-
GO_AWAY
public static final Http2Frame.Type GO_AWAY
-
WINDOW_UPDATE
public static final Http2Frame.Type WINDOW_UPDATE
-
CONTINUATION
public static final Http2Frame.Type CONTINUATION
-
-
Method Detail
-
values
public static Http2Frame.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http2Frame.Type 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 namejava.lang.NullPointerException- if the argument is null
-
getId
public byte getId()
-
-