Package io.netty.handler.codec.http3
Interface Http3SettingsFrame
-
- All Superinterfaces:
Http3ControlStreamFrame,Http3Frame,Iterable<Map.Entry<Long,Long>>
- All Known Implementing Classes:
DefaultHttp3SettingsFrame
public interface Http3SettingsFrame extends Http3ControlStreamFrame, Iterable<Map.Entry<Long,Long>>
See SETTINGS.
-
-
Field Summary
Fields Modifier and Type Field Description static longHTTP3_SETTINGS_MAX_FIELD_SECTION_SIZEstatic longHTTP3_SETTINGS_QPACK_BLOCKED_STREAMSstatic longHTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Longget(long key)Get a setting from the frame.default LonggetOrDefault(long key, long defaultValue)Get a setting from the frame.@Nullable Longput(long key, Long value)Put a setting in the frame.default longtype()The type of the frame.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Field Detail
-
HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
static final long HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
- See Also:
- Constant Field Values
-
HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
static final long HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
- See Also:
- Constant Field Values
-
HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
static final long HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
default long type()
Description copied from interface:Http3FrameThe type of the frame.- Specified by:
typein interfaceHttp3Frame- Returns:
- the type.
-
get
@Nullable @Nullable Long get(long key)
Get a setting from the frame.- Parameters:
key- the key of the setting.- Returns:
- the value of the setting or
nullif none was found with the given key.
-
getOrDefault
default Long getOrDefault(long key, long defaultValue)
Get a setting from the frame.- Parameters:
key- the key of the setting.defaultValue- If the setting does not exist.- Returns:
- the value of the setting or
defaultValueif none was found with the given key.
-
-