Package software.amazon.awssdk.crt.http
Class Http2ConnectionSettingListBuilder
- java.lang.Object
- 
- software.amazon.awssdk.crt.http.Http2ConnectionSettingListBuilder
 
- 
 public class Http2ConnectionSettingListBuilder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Http2ConnectionSettingListBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Http2ConnectionSettingListBuilderaddSetting(Http2ConnectionSetting setting)List<Http2ConnectionSetting>build()Http2ConnectionSettingListBuilderenablePush(boolean push)The SETTINGS_ENABLE_PUSH.Http2ConnectionSettingListBuilderheaderTableSize(long headerTableSize)The SETTINGS_HEADER_TABLE_SIZE.Http2ConnectionSettingListBuilderinitialWindowSize(long initialWindowSize)The SETTINGS_INITIAL_WINDOW_SIZE.Http2ConnectionSettingListBuildermaxConcurrentStreams(long maxConcurrentStreams)The SETTINGS_MAX_CONCURRENT_STREAMS.Http2ConnectionSettingListBuildermaxFrameSize(long maxFrameSize)The SETTINGS_MAX_FRAME_SIZE.Http2ConnectionSettingListBuildermaxHeaderListSize(long maxHeaderListSize)The SETTINGS_MAX_HEADER_LIST_SIZE.
 
- 
- 
- 
Method Detail- 
addSettingpublic Http2ConnectionSettingListBuilder addSetting(Http2ConnectionSetting setting) 
 - 
headerTableSizepublic Http2ConnectionSettingListBuilder headerTableSize(long headerTableSize) The SETTINGS_HEADER_TABLE_SIZE. Allows the sender to inform the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets.- Parameters:
- headerTableSize- the maximum size of the header compression table used (in octets)
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
enablePushpublic Http2ConnectionSettingListBuilder enablePush(boolean push) The SETTINGS_ENABLE_PUSH. This setting can be used to disable server push- Parameters:
- push- enable server push or not.
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
maxConcurrentStreamspublic Http2ConnectionSettingListBuilder maxConcurrentStreams(long maxConcurrentStreams) The SETTINGS_MAX_CONCURRENT_STREAMS. Indicates the maximum number of concurrent streams that the sender will allow.- Parameters:
- maxConcurrentStreams- The maximum number of concurrent streams
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
initialWindowSizepublic Http2ConnectionSettingListBuilder initialWindowSize(long initialWindowSize) The SETTINGS_INITIAL_WINDOW_SIZE. Indicates the sender's initial window size (in octets) for stream-level flow control. The initial value is 2^16-1 (65,535) octets.- Parameters:
- initialWindowSize- initial window size (in octets)
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
maxFrameSizepublic Http2ConnectionSettingListBuilder maxFrameSize(long maxFrameSize) The SETTINGS_MAX_FRAME_SIZE. Indicates the size of the largest frame payload that the sender is willing to receive, in octets.- Parameters:
- maxFrameSize- the size of the largest frame payload (in octets)
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
maxHeaderListSizepublic Http2ConnectionSettingListBuilder maxHeaderListSize(long maxHeaderListSize) The SETTINGS_MAX_HEADER_LIST_SIZE. This advisory setting informs a peer of the maximum size of header list that the sender is prepared to accept, in octets. The value is based on the uncompressed size of header fields, including the length of the name and value in octets plus an overhead of 32 octets for each header field.- Parameters:
- maxHeaderListSize- the maximum size of header list (in octets)
- Returns:
- Http2ConnectionSettingListBuilder
 
 - 
buildpublic List<Http2ConnectionSetting> build() 
 
- 
 
-