public static interface Http3SettingsSpec.Builder
Modifier and Type | Method and Description |
---|---|
Http3SettingsSpec |
build()
Build a new
Http3SettingsSpec . |
Http3SettingsSpec.Builder |
idleTimeout(Duration idleTimeout)
Set the maximum idle timeout (resolution: ms)
See
set_max_idle_timeout.
|
Http3SettingsSpec.Builder |
maxData(long maxData)
Set the initial maximum data limit.
|
Http3SettingsSpec.Builder |
maxStreamDataBidirectionalLocal(long maxStreamDataBidirectionalLocal)
Set the initial maximum data limit for local bidirectional streams.
|
Http3SettingsSpec.Builder |
maxStreamDataBidirectionalRemote(long maxStreamDataBidirectionalRemote)
Set the initial maximum data limit for remote bidirectional streams.
|
Http3SettingsSpec.Builder |
maxStreamsBidirectional(long maxStreamsBidirectional)
Set the initial maximum stream limit for bidirectional streams.
|
Http3SettingsSpec.Builder |
tokenHandler(QuicTokenHandler tokenHandler)
Set the
QuicTokenHandler that is used to generate and validate tokens or
null if no tokens should be used at all. |
Http3SettingsSpec build()
Http3SettingsSpec
.Http3SettingsSpec
Http3SettingsSpec.Builder idleTimeout(Duration idleTimeout)
By default idleTimeout
is not specified.
idleTimeout
- the maximum idle timeout (resolution: ms)this
Http3SettingsSpec.Builder maxData(long maxData)
Build#DEFAULT_MAX_DATA
maxData
- the initial maximum data limitthis
Http3SettingsSpec.Builder maxStreamDataBidirectionalLocal(long maxStreamDataBidirectionalLocal)
Build#DEFAULT_MAX_STREAM_DATA_BIDIRECTIONAL_LOCAL
maxStreamDataBidirectionalLocal
- the initial maximum data limit for local bidirectional streamsthis
Http3SettingsSpec.Builder maxStreamDataBidirectionalRemote(long maxStreamDataBidirectionalRemote)
Build#DEFAULT_MAX_STREAM_DATA_BIDIRECTIONAL_REMOTE
maxStreamDataBidirectionalRemote
- the initial maximum data limit for remote bidirectional streamsthis
Http3SettingsSpec.Builder maxStreamsBidirectional(long maxStreamsBidirectional)
Build#DEFAULT_MAX_STREAMS_BIDIRECTIONAL
maxStreamsBidirectional
- the initial maximum stream limit for bidirectional streamsthis
Http3SettingsSpec.Builder tokenHandler(QuicTokenHandler tokenHandler)
QuicTokenHandler
that is used to generate and validate tokens or
null
if no tokens should be used at all.
Default to null
.tokenHandler
- the QuicTokenHandler
to use.this