Package software.amazon.awssdk.crt.http
Enum Http2ClientConnection.Http2ErrorCode
java.lang.Object
java.lang.Enum<Http2ClientConnection.Http2ErrorCode>
software.amazon.awssdk.crt.http.Http2ClientConnection.Http2ErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<Http2ClientConnection.Http2ErrorCode>
- Enclosing class:
- Http2ClientConnection
public static enum Http2ClientConnection.Http2ErrorCode
extends Enum<Http2ClientConnection.Http2ErrorCode>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the enum constant of this type with the specified name.static Http2ClientConnection.Http2ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROTOCOL_ERROR
-
INTERNAL_ERROR
-
FLOW_CONTROL_ERROR
-
SETTINGS_TIMEOUT
-
STREAM_CLOSED
-
FRAME_SIZE_ERROR
-
REFUSED_STREAM
-
CANCEL
-
COMPRESSION_ERROR
-
CONNECT_ERROR
-
ENHANCE_YOUR_CALM
-
INADEQUATE_SECURITY
-
HTTP_1_1_REQUIRED
-
-
Method Details
-
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
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
-
getValue
public int getValue()
-