Package reactor.netty.http
Interface Http2SettingsSpec.Builder
- Enclosing class:
- Http2SettingsSpec
public static interface Http2SettingsSpec.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newHttp2SettingsSpec.connectProtocolEnabled(boolean connectProtocolEnabled) Sets theSETTINGS_ENABLE_CONNECT_PROTOCOLvalue.headerTableSize(long headerTableSize) Sets theSETTINGS_HEADER_TABLE_SIZEvalue.initialWindowSize(int initialWindowSize) Sets theSETTINGS_INITIAL_WINDOW_SIZEvalue.maxConcurrentStreams(long maxConcurrentStreams) Sets theSETTINGS_MAX_CONCURRENT_STREAMSvalue.maxFrameSize(int maxFrameSize) Sets theSETTINGS_MAX_FRAME_SIZEvalue.maxHeaderListSize(long maxHeaderListSize) Sets theSETTINGS_MAX_HEADER_LIST_SIZEvalue.maxStreams(long maxStreams) The connection is marked for closing once the number of all-time streams reachesmaxStreams.
-
Method Details
-
build
Http2SettingsSpec build()Build a newHttp2SettingsSpec.- Returns:
- a new
Http2SettingsSpec
-
connectProtocolEnabled
Sets theSETTINGS_ENABLE_CONNECT_PROTOCOLvalue.- Parameters:
connectProtocolEnabled- theSETTINGS_ENABLE_CONNECT_PROTOCOLvalue- Returns:
this- Since:
- 1.2.5
-
headerTableSize
Sets theSETTINGS_HEADER_TABLE_SIZEvalue.- Parameters:
headerTableSize- theSETTINGS_HEADER_TABLE_SIZEvalue- Returns:
this
-
initialWindowSize
Sets theSETTINGS_INITIAL_WINDOW_SIZEvalue.- Parameters:
initialWindowSize- theSETTINGS_INITIAL_WINDOW_SIZEvalue- Returns:
this
-
maxConcurrentStreams
Sets theSETTINGS_MAX_CONCURRENT_STREAMSvalue.- Parameters:
maxConcurrentStreams- theSETTINGS_MAX_CONCURRENT_STREAMSvalue- Returns:
this
-
maxFrameSize
Sets theSETTINGS_MAX_FRAME_SIZEvalue.- Parameters:
maxFrameSize- theSETTINGS_MAX_FRAME_SIZEvalue- Returns:
this
-
maxHeaderListSize
Sets theSETTINGS_MAX_HEADER_LIST_SIZEvalue.- Parameters:
maxHeaderListSize- theSETTINGS_MAX_HEADER_LIST_SIZEvalue- Returns:
this
-
maxStreams
The connection is marked for closing once the number of all-time streams reachesmaxStreams.- Returns:
this- Since:
- 1.0.33
-