Package org.apache.hc.core5.http.config
Class Http1Config.Builder
java.lang.Object
org.apache.hc.core5.http.config.Http1Config.Builder
- Enclosing class:
- Http1Config
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setBufferSize(int bufferSize) setChunkSizeHint(int chunkSizeHint) setInitialWindowSize(int initialWindowSize) setMaxEmptyLineCount(int maxEmptyLineCount) setMaxHeaderCount(int maxHeaderCount) setMaxLineLength(int maxLineLength) setVersion(HttpVersion version) Sets the effective HTTP/1.x protocol level (as expressed by the minor version).setWaitForContinueTimeout(Timeout waitForContinueTimeout)
-
Method Details
-
setVersion
Sets the effective HTTP/1.x protocol level (as expressed by the minor version). Presently onlyHttpVersion.HTTP_1_0andHttpVersion.HTTP_1_1are supported.- Parameters:
version- the effective HTTP/1.x protocol level.- Returns:
- this instance.
- Since:
- 5.3
-
setBufferSize
-
setChunkSizeHint
-
setWaitForContinueTimeout
-
setMaxLineLength
-
setMaxHeaderCount
-
setMaxEmptyLineCount
-
setInitialWindowSize
-
build
-