Package org.apache.http.config
Class ConnectionConfig
- java.lang.Object
-
- org.apache.http.config.ConnectionConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static ConnectionConfigDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionConfig.Buildercopy(ConnectionConfig config)static ConnectionConfig.Buildercustom()intgetBufferSize()java.nio.charset.CharsetgetCharset()intgetFragmentSizeHint()java.nio.charset.CodingErrorActiongetMalformedInputAction()MessageConstraintsgetMessageConstraints()java.nio.charset.CodingErrorActiongetUnmappableInputAction()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final ConnectionConfig DEFAULT
-
-
Method Detail
-
getBufferSize
public int getBufferSize()
-
getFragmentSizeHint
public int getFragmentSizeHint()
-
getCharset
public java.nio.charset.Charset getCharset()
-
getMalformedInputAction
public java.nio.charset.CodingErrorAction getMalformedInputAction()
-
getUnmappableInputAction
public java.nio.charset.CodingErrorAction getUnmappableInputAction()
-
getMessageConstraints
public MessageConstraints getMessageConstraints()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
custom
public static ConnectionConfig.Builder custom()
-
copy
public static ConnectionConfig.Builder copy(ConnectionConfig config)
-
-