- java.lang.Object
-
- java.lang.Enum<Http2FrameStreamEvent.Type>
-
- io.netty5.handler.codec.http2.Http2FrameStreamEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Http2FrameStreamEvent.Type>
- Enclosing class:
- Http2FrameStreamEvent
@UnstableApi public static enum Http2FrameStreamEvent.Type extends Enum<Http2FrameStreamEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description State
Writability
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Http2FrameStreamEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Http2FrameStreamEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
State
public static final Http2FrameStreamEvent.Type State
-
Writability
public static final Http2FrameStreamEvent.Type Writability
-
-
Method Detail
-
values
public static Http2FrameStreamEvent.Type[] 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 (Http2FrameStreamEvent.Type c : Http2FrameStreamEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http2FrameStreamEvent.Type 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 nameNullPointerException
- if the argument is null
-
-