public static interface Http2SettingsSpec.Builder
Modifier and Type | Method and Description |
---|---|
Http2SettingsSpec |
build()
Build a new
Http2SettingsSpec . |
Http2SettingsSpec.Builder |
headerTableSize(long headerTableSize)
Sets the
SETTINGS_HEADER_TABLE_SIZE value. |
Http2SettingsSpec.Builder |
initialWindowSize(int initialWindowSize)
Sets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
Http2SettingsSpec.Builder |
maxConcurrentStreams(long maxConcurrentStreams)
Sets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
Http2SettingsSpec.Builder |
maxFrameSize(int maxFrameSize)
Sets the
SETTINGS_MAX_FRAME_SIZE value. |
Http2SettingsSpec.Builder |
maxHeaderListSize(long maxHeaderListSize)
Sets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
Http2SettingsSpec.Builder |
maxStreams(long maxStreams)
The connection is marked for closing once the number of all-time streams reaches
maxStreams . |
Http2SettingsSpec build()
Http2SettingsSpec
.Http2SettingsSpec
Http2SettingsSpec.Builder headerTableSize(long headerTableSize)
SETTINGS_HEADER_TABLE_SIZE
value.headerTableSize
- the SETTINGS_HEADER_TABLE_SIZE
valuethis
Http2SettingsSpec.Builder initialWindowSize(int initialWindowSize)
SETTINGS_INITIAL_WINDOW_SIZE
value.initialWindowSize
- the SETTINGS_INITIAL_WINDOW_SIZE
valuethis
Http2SettingsSpec.Builder maxConcurrentStreams(long maxConcurrentStreams)
SETTINGS_MAX_CONCURRENT_STREAMS
value.maxConcurrentStreams
- the SETTINGS_MAX_CONCURRENT_STREAMS
valuethis
Http2SettingsSpec.Builder maxFrameSize(int maxFrameSize)
SETTINGS_MAX_FRAME_SIZE
value.maxFrameSize
- the SETTINGS_MAX_FRAME_SIZE
valuethis
Http2SettingsSpec.Builder maxHeaderListSize(long maxHeaderListSize)
SETTINGS_MAX_HEADER_LIST_SIZE
value.maxHeaderListSize
- the SETTINGS_MAX_HEADER_LIST_SIZE
valuethis
Http2SettingsSpec.Builder maxStreams(long maxStreams)
maxStreams
.this