Class Http3Settings
java.lang.Object
io.vertx.core.http.HttpSettings
io.vertx.core.http.Http3Settings
HTTP/3 settings, the settings is initialized with the default HTTP/3 values.
The settings expose the parameters defined by the HTTP/3 specification.
- Author:
- Julien Viet
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpSetting<Long> HTTP/3MAX_FIELD_SECTION_SIZEsettingstatic final HttpSetting<Long> HTTP/3QPACK_BLOCKED_STREAMSsettingstatic final HttpSetting<Long> HTTP/3QPACK_MAX_TABLE_CAPACITYsetting -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()longlonglong<T> Http3Settingsset(HttpSetting<T> setting, T value) Set thesettingvalue with<T>.setLong(HttpSetting<?> setting, long value) Set thesettingvalue withlong.setMaxFieldSectionSize(long value) Set theMAX_FIELD_SECTION_SIZEsetting value.setQPackBlockedStreams(long value) Set theQPACK_BLOCKED_STREAMSsetting value.setQPackMaxTableCapacity(long value) Methods inherited from class HttpSettings
get, getLong, getLongOrDefault, getOrDefault
-
Field Details
-
QPACK_MAX_TABLE_CAPACITY
HTTP/3QPACK_MAX_TABLE_CAPACITYsetting -
MAX_FIELD_SECTION_SIZE
HTTP/3MAX_FIELD_SECTION_SIZEsetting -
QPACK_BLOCKED_STREAMS
HTTP/3QPACK_BLOCKED_STREAMSsetting
-
-
Constructor Details
-
Http3Settings
public Http3Settings() -
Http3Settings
-
-
Method Details
-
copy
- Specified by:
copyin classHttpSettings
-
getQPackMaxTableCapacity
public long getQPackMaxTableCapacity()- Returns:
- the
QPACK_MAX_TABLE_CAPACITYsetting value
-
setQPackMaxTableCapacity
Set theQPACK_MAX_TABLE_CAPACITYsetting value.Specifies the maximum value the QPACK encoder is permitted to set for the dynamic table capacity. The default value is
0- Parameters:
value- the setting value- Returns:
- a reference to this, so the API can be used fluently
-
getMaxFieldSectionSize
public long getMaxFieldSectionSize()- Returns:
- the
MAX_FIELD_SECTION_SIZEsetting value - See Also:
-
setMaxFieldSectionSize
Set the
MAX_FIELD_SECTION_SIZEsetting value.Specifies the maximum size in bytes of a header message. The default value is infinite and is represented by
Long.MAX_VALUEwhen a default value is queried.- Parameters:
value- the setting value- Returns:
- a reference to this, so the API can be used fluently
-
getQPackBlockedStreams
public long getQPackBlockedStreams()- Returns:
- the
QPACK_BLOCKED_STREAMSsetting value
-
setQPackBlockedStreams
Set the
QPACK_BLOCKED_STREAMSsetting value.Specifies an upper bound on the number of streams that can be blocked by the QPACK decoder. The default value is
0.- Parameters:
value- the setting value- Returns:
- a reference to this, so the API can be used fluently
-
set
Description copied from class:HttpSettingsSet thesettingvalue with<T>.- Overrides:
setin classHttpSettings- Parameters:
setting- the settingvalue- the java value- Returns:
- a reference to this, so the API can be used fluently
-
setLong
Description copied from class:HttpSettingsSet thesettingvalue withlong.- Overrides:
setLongin classHttpSettings- Parameters:
setting- the settingvalue- the raw value- Returns:
- a reference to this, so the API can be used fluently
-