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.Http3SettingsSpecHttp3SettingsSpec.Builder idleTimeout(Duration idleTimeout)
By default idleTimeout is not specified.
idleTimeout - the maximum idle timeout (resolution: ms)thisHttp3SettingsSpec.Builder maxData(long maxData)
Build#DEFAULT_MAX_DATAmaxData - the initial maximum data limitthisHttp3SettingsSpec.Builder maxStreamDataBidirectionalLocal(long maxStreamDataBidirectionalLocal)
Build#DEFAULT_MAX_STREAM_DATA_BIDIRECTIONAL_LOCALmaxStreamDataBidirectionalLocal - the initial maximum data limit for local bidirectional streamsthisHttp3SettingsSpec.Builder maxStreamDataBidirectionalRemote(long maxStreamDataBidirectionalRemote)
Build#DEFAULT_MAX_STREAM_DATA_BIDIRECTIONAL_REMOTEmaxStreamDataBidirectionalRemote - the initial maximum data limit for remote bidirectional streamsthisHttp3SettingsSpec.Builder maxStreamsBidirectional(long maxStreamsBidirectional)
Build#DEFAULT_MAX_STREAMS_BIDIRECTIONALmaxStreamsBidirectional - the initial maximum stream limit for bidirectional streamsthisHttp3SettingsSpec.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