org.apache.http.config
Class ConnectionConfig
java.lang.Object
org.apache.http.config.ConnectionConfig
- All Implemented Interfaces:
- java.lang.Cloneable
@Immutable
public class ConnectionConfig
- extends java.lang.Object
- implements java.lang.Cloneable
HTTP connection configuration.
- Since:
- 4.3
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT
public static final ConnectionConfig DEFAULT
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()
clone
protected ConnectionConfig clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
custom
public static ConnectionConfig.Builder custom()
copy
public static ConnectionConfig.Builder copy(ConnectionConfig config)