Package software.amazon.awssdk.crt.http
Enum Http2ConnectionSetting.ID
- java.lang.Object
-
- java.lang.Enum<Http2ConnectionSetting.ID>
-
- software.amazon.awssdk.crt.http.Http2ConnectionSetting.ID
-
- All Implemented Interfaces:
Serializable
,Comparable<Http2ConnectionSetting.ID>
- Enclosing class:
- Http2ConnectionSetting
public static enum Http2ConnectionSetting.ID extends Enum<Http2ConnectionSetting.ID>
Predefined settings identifiers (RFC-7540 6.5.2).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENABLE_PUSH
HEADER_TABLE_SIZE
INITIAL_WINDOW_SIZE
MAX_CONCURRENT_STREAMS
MAX_FRAME_SIZE
MAX_HEADER_LIST_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static Http2ConnectionSetting.ID
valueOf(String name)
Returns the enum constant of this type with the specified name.static Http2ConnectionSetting.ID[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER_TABLE_SIZE
public static final Http2ConnectionSetting.ID HEADER_TABLE_SIZE
-
ENABLE_PUSH
public static final Http2ConnectionSetting.ID ENABLE_PUSH
-
MAX_CONCURRENT_STREAMS
public static final Http2ConnectionSetting.ID MAX_CONCURRENT_STREAMS
-
INITIAL_WINDOW_SIZE
public static final Http2ConnectionSetting.ID INITIAL_WINDOW_SIZE
-
MAX_FRAME_SIZE
public static final Http2ConnectionSetting.ID MAX_FRAME_SIZE
-
MAX_HEADER_LIST_SIZE
public static final Http2ConnectionSetting.ID MAX_HEADER_LIST_SIZE
-
-
Method Detail
-
values
public static Http2ConnectionSetting.ID[] 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 (Http2ConnectionSetting.ID c : Http2ConnectionSetting.ID.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http2ConnectionSetting.ID 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()
-
-