Class H2Config.Builder
java.lang.Object
org.apache.hc.core5.http2.config.H2Config.Builder
- Enclosing class:
H2Config
- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate intprivate intprivate intprivate intprivate intprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setCompressionEnabled(boolean compressionEnabled) setHeaderTableSize(int headerTableSize) setInitialWindowSize(int initialWindowSize) setMaxConcurrentStreams(int maxConcurrentStreams) setMaxContinuations(int maxContinuations) Sets max limit on number of continuations.setMaxFrameSize(int maxFrameSize) setMaxHeaderListSize(int maxHeaderListSize) setPushEnabled(boolean pushEnabled)
-
Field Details
-
headerTableSize
private int headerTableSize -
pushEnabled
private boolean pushEnabled -
maxConcurrentStreams
private int maxConcurrentStreams -
initialWindowSize
private int initialWindowSize -
maxFrameSize
private int maxFrameSize -
maxHeaderListSize
private int maxHeaderListSize -
compressionEnabled
private boolean compressionEnabled -
maxContinuations
private int maxContinuations
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
setHeaderTableSize
-
setPushEnabled
-
setMaxConcurrentStreams
-
setInitialWindowSize
-
setMaxFrameSize
-
setMaxHeaderListSize
-
setCompressionEnabled
-
setMaxContinuations
Sets max limit on number of continuations.value zero represents no limit
- Since:
- 5,4
-
build
-