Package org.apache.hc.core5.http.config
Class Http1Config
- java.lang.Object
-
- org.apache.hc.core5.http.config.Http1Config
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttp1Config.Builder
-
Field Summary
Fields Modifier and Type Field Description static Http1ConfigDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Http1Config.Buildercopy(Http1Config config)static Http1Config.Buildercustom()intgetBufferSize()intgetChunkSizeHint()intgetInitialWindowSize()intgetMaxEmptyLineCount()intgetMaxHeaderCount()intgetMaxLineLength()HttpVersiongetVersion()The effective protocol level expressed by the minor version of HTTP/1.x.TimeoutgetWaitForContinueTimeout()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final Http1Config DEFAULT
-
-
Method Detail
-
getVersion
public HttpVersion getVersion()
The effective protocol level expressed by the minor version of HTTP/1.x.- Returns:
- The effective protocol level.
- Since:
- 5.3
-
getBufferSize
public int getBufferSize()
-
getChunkSizeHint
public int getChunkSizeHint()
-
getWaitForContinueTimeout
public Timeout getWaitForContinueTimeout()
-
getMaxLineLength
public int getMaxLineLength()
-
getMaxHeaderCount
public int getMaxHeaderCount()
-
getMaxEmptyLineCount
public int getMaxEmptyLineCount()
-
getInitialWindowSize
public int getInitialWindowSize()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
custom
public static Http1Config.Builder custom()
-
copy
public static Http1Config.Builder copy(Http1Config config)
-
-