org.apache.http.config
Class ConnectionConfig
java.lang.Object
   org.apache.http.config.ConnectionConfig
org.apache.http.config.ConnectionConfig
- All Implemented Interfaces: 
- Cloneable
- @Contract(threading=IMMUTABLE)
public class ConnectionConfig 
- extends Object- implements Cloneable
HTTP connection configuration.
- Since:
- 4.3
 
 
 
 
DEFAULT
public static final ConnectionConfig DEFAULT
getBufferSize
public int getBufferSize()
- 
 
- 
 
getFragmentSizeHint
public int getFragmentSizeHint()
- 
 
- 
 
getCharset
public Charset getCharset()
- 
 
- 
 
getMalformedInputAction
public CodingErrorAction getMalformedInputAction()
- 
 
- 
 
getUnmappableInputAction
public CodingErrorAction getUnmappableInputAction()
- 
 
- 
 
getMessageConstraints
public MessageConstraints getMessageConstraints()
- 
 
- 
 
clone
protected ConnectionConfig clone()
                          throws CloneNotSupportedException
- 
- Overrides:
- clonein class- Object
 
- 
- Throws:
- CloneNotSupportedException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
custom
public static ConnectionConfig.Builder custom()
- 
 
- 
 
copy
public static ConnectionConfig.Builder copy(ConnectionConfig config)
- 
 
- 
 
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.