Enum Http3SettingIdentifier
- All Implemented Interfaces:
Serializable, Comparable<Http3SettingIdentifier>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionENABLE_CONNECT_PROTOCOL setting identifier (0x8).ENABLE_H3_DATAGRAM setting identifier (0x8).Maximum field section size setting identifier (0x6).QPACK blocked streams setting identifier (0x7).QPACK maximum table capacity setting identifier (0x1). -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Http3SettingIdentifierfromId(long id) ReturnsHttp3SettingIdentifierlongid()Returns the Identifier ofHttp3SettingIdentifierfor example: SETTINGS_QPACK_MAX_TABLE_CAPACITY = 0x1 = 1 in the settings framestatic Http3SettingIdentifierReturns the enum constant of this type with the specified name.static Http3SettingIdentifier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
QPACK maximum table capacity setting identifier (0x1).Defined in RFC 9204, Section 5 (SETTINGS_QPACK_MAX_TABLE_CAPACITY) and registered in the HTTP/3 SETTINGS registry (IANA).
Controls the maximum size of the dynamic table used by QPACK. -
HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
Maximum field section size setting identifier (0x6).Defined in RFC 9114, Section 7.2.4.1 (SETTINGS_MAX_FIELD_SECTION_SIZE) , also referenced in the HTTP/3 SETTINGS registry (RFC 9114, Section 7.2.4.1) and registered in the HTTP/3 SETTINGS registry (IANA).
Specifies the upper bound on the total size of HTTP field sections accepted by a peer. -
HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
QPACK blocked streams setting identifier (0x7).Defined in RFC 9204, Section 5 (SETTINGS_QPACK_BLOCKED_STREAMS) and registered in the HTTP/3 SETTINGS registry (IANA).
Indicates the maximum number of streams that can be blocked waiting for QPACK instructions. -
HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL
ENABLE_CONNECT_PROTOCOL setting identifier (0x8).Defined and registered in RFC 9220, Section 5 (IANA Considerations) and registered in the HTTP/3 SETTINGS registry (IANA).
Enables use of the CONNECT protocol in HTTP/3 when set to 1; disabled when 0. -
HTTP3_SETTINGS_H3_DATAGRAM
ENABLE_H3_DATAGRAM setting identifier (0x8).Defined and registered in RFC 9220, Section 5 (IANA Considerations) and registered in the HTTP/3 SETTINGS registry (IANA).
Enables use of the CONNECT protocol in HTTP/3 when set to 1; disabled when 0.
-
-
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
-
id
public long id()Returns the Identifier ofHttp3SettingIdentifierfor example: SETTINGS_QPACK_MAX_TABLE_CAPACITY = 0x1 = 1 in the settings frame- Returns:
- long(represented as hexadecimal above) value of the Identifier
-
fromId
ReturnsHttp3SettingIdentifier- Parameters:
id-- Returns:
Http3SettingIdentifierenum which represents @param id, null otherwise
-