public static interface Http2SettingsSpec.Builder
| Modifier and Type | Method and Description |
|---|---|
Http2SettingsSpec |
build()
Build a new
Http2SettingsSpec. |
Http2SettingsSpec.Builder |
connectProtocolEnabled(boolean connectProtocolEnabled)
Sets the
SETTINGS_ENABLE_CONNECT_PROTOCOL value. |
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.Http2SettingsSpecHttp2SettingsSpec.Builder connectProtocolEnabled(boolean connectProtocolEnabled)
SETTINGS_ENABLE_CONNECT_PROTOCOL value.connectProtocolEnabled - the SETTINGS_ENABLE_CONNECT_PROTOCOL valuethisHttp2SettingsSpec.Builder headerTableSize(long headerTableSize)
SETTINGS_HEADER_TABLE_SIZE value.headerTableSize - the SETTINGS_HEADER_TABLE_SIZE valuethisHttp2SettingsSpec.Builder initialWindowSize(int initialWindowSize)
SETTINGS_INITIAL_WINDOW_SIZE value.initialWindowSize - the SETTINGS_INITIAL_WINDOW_SIZE valuethisHttp2SettingsSpec.Builder maxConcurrentStreams(long maxConcurrentStreams)
SETTINGS_MAX_CONCURRENT_STREAMS value.maxConcurrentStreams - the SETTINGS_MAX_CONCURRENT_STREAMS valuethisHttp2SettingsSpec.Builder maxFrameSize(int maxFrameSize)
SETTINGS_MAX_FRAME_SIZE value.maxFrameSize - the SETTINGS_MAX_FRAME_SIZE valuethisHttp2SettingsSpec.Builder maxHeaderListSize(long maxHeaderListSize)
SETTINGS_MAX_HEADER_LIST_SIZE value.maxHeaderListSize - the SETTINGS_MAX_HEADER_LIST_SIZE valuethisHttp2SettingsSpec.Builder maxStreams(long maxStreams)
maxStreams.this