Package org.hcjf.io.net.http.http2
Enum Http2Frame.Error
- java.lang.Object
-
- java.lang.Enum<Http2Frame.Error>
-
- org.hcjf.io.net.http.http2.Http2Frame.Error
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Http2Frame.Error>,java.lang.constant.Constable
- Enclosing class:
- Http2Frame
public static enum Http2Frame.Error extends java.lang.Enum<Http2Frame.Error>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELCOMPRESSION_ERRORCONNECT_ERRORENHANCE_YOUR_CALMFLOW_CONTROL_ERRORFRAME_SIZE_ERRORHTTP_1_1_REQUIREDINADEQUATE_SECURITYINTERNAL_ERRORNO_ERRORPROTOCOL_ERRORREFUSED_STREAMSETTINGS_TIMEOUTSTREAM_CLOSED
-
Method Summary
Modifier and Type Method Description bytegetId()static Http2Frame.ErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Http2Frame.Error[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ERROR
public static final Http2Frame.Error NO_ERROR
-
PROTOCOL_ERROR
public static final Http2Frame.Error PROTOCOL_ERROR
-
INTERNAL_ERROR
public static final Http2Frame.Error INTERNAL_ERROR
-
FLOW_CONTROL_ERROR
public static final Http2Frame.Error FLOW_CONTROL_ERROR
-
SETTINGS_TIMEOUT
public static final Http2Frame.Error SETTINGS_TIMEOUT
-
STREAM_CLOSED
public static final Http2Frame.Error STREAM_CLOSED
-
FRAME_SIZE_ERROR
public static final Http2Frame.Error FRAME_SIZE_ERROR
-
REFUSED_STREAM
public static final Http2Frame.Error REFUSED_STREAM
-
CANCEL
public static final Http2Frame.Error CANCEL
-
COMPRESSION_ERROR
public static final Http2Frame.Error COMPRESSION_ERROR
-
CONNECT_ERROR
public static final Http2Frame.Error CONNECT_ERROR
-
ENHANCE_YOUR_CALM
public static final Http2Frame.Error ENHANCE_YOUR_CALM
-
INADEQUATE_SECURITY
public static final Http2Frame.Error INADEQUATE_SECURITY
-
HTTP_1_1_REQUIRED
public static final Http2Frame.Error HTTP_1_1_REQUIRED
-
-
Method Detail
-
values
public static Http2Frame.Error[] 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.Error 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()
-
-