Enum Http3SettingIdentifier
- java.lang.Object
-
- java.lang.Enum<Http3SettingIdentifier>
-
- io.netty.handler.codec.http3.Http3SettingIdentifier
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Http3SettingIdentifier>
public enum Http3SettingIdentifier extends java.lang.Enum<Http3SettingIdentifier>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOLENABLE_CONNECT_PROTOCOL setting identifier (0x8).HTTP3_SETTINGS_H3_DATAGRAMENABLE_H3_DATAGRAM setting identifier (0x8).HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZEMaximum field section size setting identifier (0x6).HTTP3_SETTINGS_QPACK_BLOCKED_STREAMSQPACK blocked streams setting identifier (0x7).HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITYQPACK maximum table capacity setting identifier (0x1).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable Http3SettingIdentifierfromId(long id)ReturnsHttp3SettingIdentifierlongid()Returns the Identifier ofHttp3SettingIdentifierfor example: SETTINGS_QPACK_MAX_TABLE_CAPACITY = 0x1 = 1 in the settings framestatic Http3SettingIdentifiervalueOf(java.lang.String name)Returns 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 Detail
-
HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
public static final Http3SettingIdentifier 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
public static final Http3SettingIdentifier 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
public static final Http3SettingIdentifier 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
public static final Http3SettingIdentifier 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
public static final Http3SettingIdentifier 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 Detail
-
values
public static Http3SettingIdentifier[] 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 (Http3SettingIdentifier c : Http3SettingIdentifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http3SettingIdentifier 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
-
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
@Nullable public static @Nullable Http3SettingIdentifier fromId(long id)
ReturnsHttp3SettingIdentifier- Parameters:
id-- Returns:
Http3SettingIdentifierenum which represents @param id, null otherwise
-
-