Package org.apache.http.config
Class ConnectionConfig.Builder
- java.lang.Object
-
- org.apache.http.config.ConnectionConfig.Builder
-
- Enclosing class:
- ConnectionConfig
public static class ConnectionConfig.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionConfig
build()
ConnectionConfig.Builder
setBufferSize(int bufferSize)
ConnectionConfig.Builder
setCharset(java.nio.charset.Charset charset)
ConnectionConfig.Builder
setFragmentSizeHint(int fragmentSizeHint)
ConnectionConfig.Builder
setMalformedInputAction(java.nio.charset.CodingErrorAction malformedInputAction)
ConnectionConfig.Builder
setMessageConstraints(MessageConstraints messageConstraints)
ConnectionConfig.Builder
setUnmappableInputAction(java.nio.charset.CodingErrorAction unmappableInputAction)
-
-
-
Method Detail
-
setBufferSize
public ConnectionConfig.Builder setBufferSize(int bufferSize)
-
setFragmentSizeHint
public ConnectionConfig.Builder setFragmentSizeHint(int fragmentSizeHint)
-
setCharset
public ConnectionConfig.Builder setCharset(java.nio.charset.Charset charset)
-
setMalformedInputAction
public ConnectionConfig.Builder setMalformedInputAction(java.nio.charset.CodingErrorAction malformedInputAction)
-
setUnmappableInputAction
public ConnectionConfig.Builder setUnmappableInputAction(java.nio.charset.CodingErrorAction unmappableInputAction)
-
setMessageConstraints
public ConnectionConfig.Builder setMessageConstraints(MessageConstraints messageConstraints)
-
build
public ConnectionConfig build()
-
-