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 class
ConnectionConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static ConnectionConfig
DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionConfig.Builder
copy(ConnectionConfig config)
static ConnectionConfig.Builder
custom()
int
getBufferSize()
java.nio.charset.Charset
getCharset()
int
getFragmentSizeHint()
java.nio.charset.CodingErrorAction
getMalformedInputAction()
MessageConstraints
getMessageConstraints()
java.nio.charset.CodingErrorAction
getUnmappableInputAction()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
custom
public static ConnectionConfig.Builder custom()
-
copy
public static ConnectionConfig.Builder copy(ConnectionConfig config)
-
-