Interface Http3SettingsFrame
- All Superinterfaces:
Http3ControlStreamFrame, Http3Frame, Iterable<Map.Entry<Long,Long>>
- All Known Implementing Classes:
DefaultHttp3SettingsFrame
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longDeprecated.static final longDeprecated.static final longDeprecated.static final longDeprecated. -
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Longget(long key) Deprecated.Use typed accessors viasettings()instead.default LonggetOrDefault(long key, long defaultValue) Deprecated.Use typed accessors viasettings()instead. * For example,frame.settings().qpackBlockedStreams().default @Nullable LongDeprecated.Use typed accessors viasettings()instead. * For example,frame.settings().enableConnectProtocol(true).default Http3Settingssettings()default longtype()The type of the frame.Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Field Details
-
HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
Deprecated. -
HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
Deprecated. -
HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL
Deprecated. -
HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
Deprecated.
-
-
Method Details
-
settings
-
type
default long type()Description copied from interface:Http3FrameThe type of the frame.- Specified by:
typein interfaceHttp3Frame- Returns:
- the type.
-
get
Deprecated.Use typed accessors viasettings()instead. For example,frame.settings().connectProtocolEnabled().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
Deprecated.Use typed accessors viasettings()instead. * For example,frame.settings().qpackBlockedStreams().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.
-
put
Deprecated.Use typed accessors viasettings()instead. * For example,frame.settings().enableConnectProtocol(true).Put a setting in the frame.- Parameters:
key- the key of the settingvalue- the value of the setting.- Returns:
- the previous stored valued for the given key or
nullif none was stored before.
-
Http3SettingIdentifier.HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOLinstead.