org.apache.http.config
Class ConnectionConfig

java.lang.Object
  extended by 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

Nested Class Summary
static class ConnectionConfig.Builder
           
 
Field Summary
static ConnectionConfig DEFAULT
           
 
Method Summary
protected  ConnectionConfig clone()
           
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()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()

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)