Package io.netty.handler.codec.http3
Class DefaultHttp3SettingsFrame
java.lang.Object
io.netty.handler.codec.http3.DefaultHttp3SettingsFrame
- All Implemented Interfaces:
Http3ControlStreamFrame,Http3Frame,Http3SettingsFrame,Iterable<Map.Entry<Long,Long>>
Default implementation of
Http3SettingsFrame.-
Field Summary
Fields inherited from interface io.netty.handler.codec.http3.Http3SettingsFrame
HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL, HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE, HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS, HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultHttp3SettingsFramecopyOf(Http3SettingsFrame settingsFrame) Creates a newDefaultHttp3SettingsFramewhich is a copy of the given settings.boolean@Nullable Longget(long key) Deprecated.inthashCode()iterator()@Nullable LongDeprecated.usesettings()and manipulate theHttp3Settingsdirectlysettings()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.handler.codec.http3.Http3SettingsFrame
getOrDefault, typeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DefaultHttp3SettingsFrame
-
DefaultHttp3SettingsFrame
public DefaultHttp3SettingsFrame()
-
-
Method Details
-
settings
- Specified by:
settingsin interfaceHttp3SettingsFrame
-
get
Deprecated.usesettings()and manipulate theHttp3SettingsdirectlyGet a setting by its key.- Specified by:
getin interfaceHttp3SettingsFrame- Parameters:
key- the HTTP/3 setting key- Returns:
- the value, or
nullif not set
-
put
Deprecated.usesettings()and manipulate theHttp3SettingsdirectlySet a setting value by key.- Specified by:
putin interfaceHttp3SettingsFrame- Parameters:
key- the HTTP/3 setting keyvalue- the value to set- Returns:
- the previous value, or
nullif none - Throws:
IllegalArgumentException- if the key is reserved for HTTP/2
-
iterator
-
hashCode
public int hashCode() -
equals
-
toString
-
copyOf
Creates a newDefaultHttp3SettingsFramewhich is a copy of the given settings.- Parameters:
settingsFrame- the frame to copy.- Returns:
- the newly created copy.
-
settings()and manipulate theHttp3Settingsdirectly