Package io.netty.handler.codec.http3
Interface Http3SettingsFrame
-
- All Superinterfaces:
Http3ControlStreamFrame,Http3Frame,java.lang.Iterable<java.util.Map.Entry<java.lang.Long,java.lang.Long>>
- All Known Implementing Classes:
DefaultHttp3SettingsFrame
public interface Http3SettingsFrame extends Http3ControlStreamFrame, java.lang.Iterable<java.util.Map.Entry<java.lang.Long,java.lang.Long>>
See SETTINGS.
-
-
Field Summary
Fields Modifier and Type Field Description static longHTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOLDeprecated.static longHTTP3_SETTINGS_MAX_FIELD_SECTION_SIZEDeprecated.static longHTTP3_SETTINGS_QPACK_BLOCKED_STREAMSDeprecated.static longHTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITYDeprecated.
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default @Nullable java.lang.Longget(long key)Deprecated.Use typed accessors viasettings()instead.default java.lang.LonggetOrDefault(long key, long defaultValue)Deprecated.Use typed accessors viasettings()insteaddefault @Nullable java.lang.Longput(long key, java.lang.Long value)Deprecated.Use typed accessors viasettings()insteaddefault Http3Settingssettings()default longtype()The type of the frame.
-
-
-
Field Detail
-
HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
@Deprecated static final long HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY
Deprecated.
-
HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
@Deprecated static final long HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS
Deprecated.
-
HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL
@Deprecated static final long HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL
Deprecated.
-
HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
@Deprecated static final long HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE
Deprecated.
-
-
Method Detail
-
settings
default Http3Settings settings()
-
type
default long type()
Description copied from interface:Http3FrameThe type of the frame.- Specified by:
typein interfaceHttp3Frame- Returns:
- the type.
-
get
@Deprecated @Nullable default @Nullable java.lang.Long get(long key)
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 default java.lang.Long getOrDefault(long key, long defaultValue)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
@Nullable default @Nullable java.lang.Long put(long key, java.lang.Long value)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.
-
-