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_PROTOCOL
value.headerTableSize
(long headerTableSize) Sets theSETTINGS_HEADER_TABLE_SIZE
value.initialWindowSize
(int initialWindowSize) Sets theSETTINGS_INITIAL_WINDOW_SIZE
value.maxConcurrentStreams
(long maxConcurrentStreams) Sets theSETTINGS_MAX_CONCURRENT_STREAMS
value.maxFrameSize
(int maxFrameSize) Sets theSETTINGS_MAX_FRAME_SIZE
value.maxHeaderListSize
(long maxHeaderListSize) Sets theSETTINGS_MAX_HEADER_LIST_SIZE
value.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_PROTOCOL
value.- Parameters:
connectProtocolEnabled
- theSETTINGS_ENABLE_CONNECT_PROTOCOL
value- Returns:
this
- Since:
- 1.2.5
-
headerTableSize
Sets theSETTINGS_HEADER_TABLE_SIZE
value.- Parameters:
headerTableSize
- theSETTINGS_HEADER_TABLE_SIZE
value- Returns:
this
-
initialWindowSize
Sets theSETTINGS_INITIAL_WINDOW_SIZE
value.- Parameters:
initialWindowSize
- theSETTINGS_INITIAL_WINDOW_SIZE
value- Returns:
this
-
maxConcurrentStreams
Sets theSETTINGS_MAX_CONCURRENT_STREAMS
value.- Parameters:
maxConcurrentStreams
- theSETTINGS_MAX_CONCURRENT_STREAMS
value- Returns:
this
-
maxFrameSize
Sets theSETTINGS_MAX_FRAME_SIZE
value.- Parameters:
maxFrameSize
- theSETTINGS_MAX_FRAME_SIZE
value- Returns:
this
-
maxHeaderListSize
Sets theSETTINGS_MAX_HEADER_LIST_SIZE
value.- Parameters:
maxHeaderListSize
- theSETTINGS_MAX_HEADER_LIST_SIZE
value- Returns:
this
-
maxStreams
The connection is marked for closing once the number of all-time streams reachesmaxStreams
.- Returns:
this
- Since:
- 1.0.33
-