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 Enum Constant Description CANCEL
COMPRESSION_ERROR
CONNECT_ERROR
ENHANCE_YOUR_CALM
FLOW_CONTROL_ERROR
FRAME_SIZE_ERROR
HTTP_1_1_REQUIRED
INADEQUATE_SECURITY
INTERNAL_ERROR
PROTOCOL_ERROR
REFUSED_STREAM
SETTINGS_TIMEOUT
STREAM_CLOSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static Http2ClientConnection.Http2ErrorCode
valueOf(String name)
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 Detail
-
PROTOCOL_ERROR
public static final Http2ClientConnection.Http2ErrorCode PROTOCOL_ERROR
-
INTERNAL_ERROR
public static final Http2ClientConnection.Http2ErrorCode INTERNAL_ERROR
-
FLOW_CONTROL_ERROR
public static final Http2ClientConnection.Http2ErrorCode FLOW_CONTROL_ERROR
-
SETTINGS_TIMEOUT
public static final Http2ClientConnection.Http2ErrorCode SETTINGS_TIMEOUT
-
STREAM_CLOSED
public static final Http2ClientConnection.Http2ErrorCode STREAM_CLOSED
-
FRAME_SIZE_ERROR
public static final Http2ClientConnection.Http2ErrorCode FRAME_SIZE_ERROR
-
REFUSED_STREAM
public static final Http2ClientConnection.Http2ErrorCode REFUSED_STREAM
-
CANCEL
public static final Http2ClientConnection.Http2ErrorCode CANCEL
-
COMPRESSION_ERROR
public static final Http2ClientConnection.Http2ErrorCode COMPRESSION_ERROR
-
CONNECT_ERROR
public static final Http2ClientConnection.Http2ErrorCode CONNECT_ERROR
-
ENHANCE_YOUR_CALM
public static final Http2ClientConnection.Http2ErrorCode ENHANCE_YOUR_CALM
-
INADEQUATE_SECURITY
public static final Http2ClientConnection.Http2ErrorCode INADEQUATE_SECURITY
-
HTTP_1_1_REQUIRED
public static final Http2ClientConnection.Http2ErrorCode HTTP_1_1_REQUIRED
-
-
Method Detail
-
values
public static Http2ClientConnection.Http2ErrorCode[] 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 (Http2ClientConnection.Http2ErrorCode c : Http2ClientConnection.Http2ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http2ClientConnection.Http2ErrorCode 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
-
getValue
public int getValue()
-
-