Top Deprecated
Apache HttpCore 4.4.16

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.http.HttpMessage.getParams()

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.HttpMessage.setParams(HttpParams
the parameters
params
)

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.entity.AbstractHttpEntity.consumeContent()

(4.1) Either use getContent() and call java.io.InputStream#close() on that; otherwise call writeTo(java.io.OutputStream) which is required to free the resources.

org.apache.http.entity.FileEntity.FileEntity(final File
The file to serve.
file
,
final String
The content type for the given file.
contentType
)

(4.1.3) FileEntity(File, ContentType)

org.apache.http.entity.HttpEntityWrapper.consumeContent()

(4.1) Either use getContent() and call java.io.InputStream#close() on that; otherwise call writeTo(OutputStream) which is required to free the resources.

org.apache.http.entity.StringEntity.StringEntity(final String
content to be used. Not null.
string
,
final String
MIME type to be used. May be null, in which case the default is HTTP#PLAIN_TEXT_TYPE i.e. "text/plain"
mimeType
,
final String
character set to be used. May be null, in which case the default is HTTP#DEF_CONTENT_CHARSET i.e. "ISO-8859-1"
charset
)

(4.1.3) use StringEntity(String, ContentType)

Returns:

HTTP entity deserializer
org.apache.http.impl.AbstractHttpClientConnection.createEntityDeserializer
()

Deprecated as a consequence of EntityDeserializer being deprecated. See corresponding docs for further information.

Returns:

HTTP entity serialzier.
org.apache.http.impl.AbstractHttpClientConnection.createEntitySerializer
()

Deprecated as a consequence of EntitySerializer being deprecated. See corresponding docs for further information.

Returns:

HTTP message writer
org.apache.http.impl.AbstractHttpClientConnection.createRequestWriter
(final SessionOutputBuffer
the session output buffer
buffer
,
final HttpParams
HTTP parameters
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

HTTP message parser.
org.apache.http.impl.AbstractHttpClientConnection.createResponseParser
(final SessionInputBuffer
the session input buffer.
buffer
,
final HttpResponseFactory
the HTTP response factory.
responseFactory
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpClientConnection.entitydeserializer

Deprecated as a consequence of EntityDeserializer being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpClientConnection.entityserializer

Deprecated as a consequence of EntitySerializer being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpClientConnection.eofSensor

Deprecated as a consequence of EofSensor being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpClientConnection.init(final SessionInputBuffer
the session input buffer.
sessionInputBuffer
,
final SessionOutputBuffer
the session output buffer.
sessionOutputBuffer
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

HTTP entity deserializer
org.apache.http.impl.AbstractHttpServerConnection.createEntityDeserializer
()

Deprecated as a consequence of EntityDeserializer being deprecated. See corresponding docs for further information.

Returns:

HTTP entity serialzier.
org.apache.http.impl.AbstractHttpServerConnection.createEntitySerializer
()

Deprecated as a consequence of EntitySerializer being deprecated. See corresponding docs for further information.

Returns:

HTTP message parser.
org.apache.http.impl.AbstractHttpServerConnection.createRequestParser
(final SessionInputBuffer
the session input buffer.
buffer
,
final HttpRequestFactory
the HTTP request factory.
requestFactory
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

HTTP message writer
org.apache.http.impl.AbstractHttpServerConnection.createResponseWriter
(final SessionOutputBuffer
the session output buffer
buffer
,
final HttpParams
HTTP parameters
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpServerConnection.entitydeserializer

Deprecated as a consequence of EntityDeserializer being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpServerConnection.entityserializer

Deprecated as a consequence of EntitySerializer being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpServerConnection.eofSensor

Deprecated as a consequence of EofSensor being deprecated. See corresponding docs for further information.

org.apache.http.impl.AbstractHttpServerConnection.init(final SessionInputBuffer
the session input buffer.
inBuffer
,
final SessionOutputBuffer
the session output buffer.
outbuffer
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.DefaultHttpClientConnection.bind(final Socket
the socket.
socket
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.DefaultHttpServerConnection.bind(final Socket
the socket.
socket
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.SocketHttpClientConnection.bind(final Socket
the socket.
socket
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

session input buffer.
org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer
(final Socket
the socket.
socket
,
final int
the buffer size.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

session output buffer.
org.apache.http.impl.SocketHttpClientConnection.createSessionOutputBuffer
(final Socket
the socket.
socket
,
final int
the buffer size.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.SocketHttpServerConnection.bind(final Socket
the socket.
socket
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

session input buffer.
org.apache.http.impl.SocketHttpServerConnection.createSessionInputBuffer
(final Socket
the socket.
socket
,
final int
the buffer size.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

session output buffer.
org.apache.http.impl.SocketHttpServerConnection.createSessionOutputBuffer
(final Socket
the socket.
socket
,
final int
the buffer size.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.AbstractSessionInputBuffer.init(final InputStream
the source input stream.
inputStream
,
final int
the size of the internal buffer.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.AbstractSessionOutputBuffer.init(final OutputStream outStream, final int bufferSize, final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.ChunkedOutputStream.ChunkedOutputStream(final SessionOutputBuffer
The session output buffer
out
,
final int
The minimum chunk size (excluding last chunk)
bufferSize
)

(4.3) use ChunkedOutputStream#ChunkedOutputStream(int, SessionOutputBuffer)

org.apache.http.impl.io.HttpRequestParser.HttpRequestParser(final SessionInputBuffer
the session input buffer.
buffer
,
final LineParser
the line parser.
parser
,
final HttpRequestFactory
the factory to use to create org.apache.http.HttpRequests.
requestFactory
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.HttpRequestWriter.HttpRequestWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.HttpResponseParser.HttpResponseParser(final SessionInputBuffer
the session input buffer.
buffer
,
final LineParser
the line parser.
parser
,
final HttpResponseFactory
the factory to use to create org.apache.http.HttpResponses.
responseFactory
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.HttpResponseWriter.HttpResponseWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.SocketInputBuffer.SocketInputBuffer(final Socket
the socket to read data from.
socket
,
final int
the size of the internal buffer. If this number is less than 0 it is set to the value of Socket#getReceiveBufferSize(). If resultant number is less than 1024 it is set to 1024.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.io.SocketOutputBuffer.SocketOutputBuffer(final Socket
the socket to write data to.
socket
,
final int
the size of the internal buffer. If this number is less than 0 it is set to the value of Socket#getSendBufferSize(). If resultant number is less than 1024 it is set to 1024.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.impl.pool.BasicConnFactory.create(final Socket socket, final HttpParams params)

(4.3) no longer used.

org.apache.http.io.EofSensor

(4.3) no longer used.

Returns:

true if some data is available in the session buffer or false otherwise.
org.apache.http.io.SessionInputBuffer.isDataAvailable
(int
in milliseconds.
timeout
)

(4.3) do not use. This function should be provided at the connection level

org.apache.http.message.AbstractHttpMessage.getParams()

(4.3) use constructor parameters of configuration API provided by HttpClient

org.apache.http.message.AbstractHttpMessage.setParams(final HttpParams
the parameters
params
)

(4.3) use constructor parameters of configuration API provided by HttpClient

org.apache.http.params.AbstractHttpParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.AbstractHttpParams.setBooleanParameter(final String
parameter name
name
,
final boolean
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.AbstractHttpParams.setDoubleParameter(final String
parameter name
name
,
final double
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.AbstractHttpParams.setIntParameter(final String
parameter name
name
,
final int
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.AbstractHttpParams.setLongParameter(final String
parameter name
name
,
final long
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.BasicHttpParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

Returns:

a new set of params holding a copy of the local parameters in this object.
org.apache.http.params.BasicHttpParams.copy
()

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.BasicHttpParams.copyParams(final HttpParams
the parameters to which to copy
target
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.BasicHttpParams.setParameter(final String
parameter name
name
,
final Object
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.CoreConnectionPNames

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.CoreProtocolPNames

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.DefaultedHttpParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.DefaultedHttpParams.DefaultedHttpParams(final HttpParams
the mutable set of HttpParams
local
,
final HttpParams
the default set of HttpParams, not mutated by this class
defaults
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.DefaultedHttpParams.copy()

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.DefaultedHttpParams.defaults

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

the default HttpParams collection
org.apache.http.params.DefaultedHttpParams.getDefaults
()

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.DefaultedHttpParams.getNames(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.DefaultedHttpParams.local

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.DefaultedHttpParams.setParameter(final String
parameter name
name
,
final Object
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpAbstractParamBean

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.HttpAbstractParamBean.HttpAbstractParamBean(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpAbstractParamBean.params

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParamBean

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.HttpConnectionParamBean.HttpConnectionParamBean(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

Returns:

connect timeout.
org.apache.http.params.HttpConnectionParams.getConnectionTimeout
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

SO_LINGER.
org.apache.http.params.HttpConnectionParams.getLinger
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

SO_KEEPALIVE.
org.apache.http.params.HttpConnectionParams.getSoKeepalive
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

SO_REUSEADDR.
org.apache.http.params.HttpConnectionParams.getSoReuseaddr
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

SO_TIMEOUT.
org.apache.http.params.HttpConnectionParams.getSoTimeout
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

socket buffer size
org.apache.http.params.HttpConnectionParams.getSocketBufferSize
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

Nagle's algorithm flag
org.apache.http.params.HttpConnectionParams.getTcpNoDelay
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

stale connection check flag.
org.apache.http.params.HttpConnectionParams.isStaleCheckingEnabled
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setConnectionTimeout(final HttpParams
HTTP parameters.
params
,
final int
connect timeout.
timeout
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setLinger(final HttpParams
HTTP parameters.
params
,
final int
SO_LINGER.
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setSoKeepalive(final HttpParams
HTTP parameters.
params
,
final boolean
SO_KEEPALIVE.
enableKeepalive
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setSoReuseaddr(final HttpParams
HTTP parameters.
params
,
final boolean
SO_REUSEADDR.
reuseaddr
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setSoTimeout(final HttpParams
HTTP parameters.
params
,
final int
SO_TIMEOUT.
timeout
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setSocketBufferSize(final HttpParams
HTTP parameters.
params
,
final int
socket buffer size
size
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setStaleCheckingEnabled(final HttpParams
HTTP parameters.
params
,
final boolean
stale connection check flag.
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpConnectionParams.setTcpNoDelay(final HttpParams
HTTP parameters.
params
,
final boolean
Nagle's algorithm flag
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParamConfig

(4.3) provided for compatibility with HttpParams. Do not use.

org.apache.http.params.HttpParamConfig.getConnectionConfig(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParamConfig.getMessageConstraints(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParamConfig.getSocketConfig(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

Returns:

a new set of parameters holding the same values as this one
org.apache.http.params.HttpParams.copy
()

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams.setBooleanParameter(String
parameter name
name
,
boolean
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams.setDoubleParameter(String
parameter name
name
,
double
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams.setIntParameter(String
parameter name
name
,
int
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams.setLongParameter(String
parameter name
name
,
long
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParams.setParameter(String
parameter name
name
,
Object
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpParamsNames

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.HttpProtocolParamBean

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.HttpProtocolParamBean.HttpProtocolParamBean(final HttpParams params)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

Returns:

HTTP content charset.
org.apache.http.params.HttpProtocolParams.getContentCharset
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

HTTP element charset.
org.apache.http.params.HttpProtocolParams.getHttpElementCharset
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

Action to perform upon receiving a malformed input
org.apache.http.params.HttpProtocolParams.getMalformedInputAction
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

Action to perform upon receiving a unmapped input
org.apache.http.params.HttpProtocolParams.getUnmappableInputAction
(final HttpParams
HTTP parameters
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

User agent string.
org.apache.http.params.HttpProtocolParams.getUserAgent
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

HTTP protocol version.
org.apache.http.params.HttpProtocolParams.getVersion
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setContentCharset(final HttpParams
HTTP parameters.
params
,
final String
HTTP content charset.
charset
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setHttpElementCharset(final HttpParams
HTTP parameters.
params
,
final String
HTTP element charset.
charset
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setMalformedInputAction(final HttpParams
HTTP parameters
params
,
final CodingErrorAction
action to perform on malformed inputs
action
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setUnmappableInputAction(final HttpParams
HTTP parameters
params
,
final CodingErrorAction
action to perform on un mappable inputs
action
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setUseExpectContinue(final HttpParams
HTTP parameters.
params
,
final boolean
expect-continue flag.
b
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setUserAgent(final HttpParams
HTTP parameters.
params
,
final String
User agent string.
useragent
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.HttpProtocolParams.setVersion(final HttpParams
HTTP parameters.
params
,
final ProtocolVersion
HTTP protocol version.
version
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

User agent string.
org.apache.http.params.HttpProtocolParams.useExpectContinue
(final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.params.SyncBasicHttpParams

(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'

org.apache.http.params.SyncBasicHttpParams.setParameter(final String
parameter name
name
,
final Object
parameter value
value
)

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Returns:

new instance of the BasicHttpProcessor
org.apache.http.protocol.BasicHttpProcessor.copy
()

Deprecated as a consequence of BasicHttpProcessor being deprecated. See corresponding docs for further information.

org.apache.http.protocol.BasicHttpProcessor.copyInterceptors(final BasicHttpProcessor
object to be initialised
target
)

Deprecated as a consequence of BasicHttpProcessor being deprecated. See corresponding docs for further information.

org.apache.http.protocol.HttpService.HttpRequestHandlerResolverAdapter.HttpRequestHandlerResolverAdapter(final HttpRequestHandlerResolver resolver)

Deprecated as a consequence of HttpRequestHandlerResolver being deprecated. See corresponding docs for further information.

org.apache.http.protocol.HttpService.HttpRequestHandlerResolverAdapter.resolver

Deprecated as a consequence of HttpRequestHandlerResolver being deprecated. See corresponding docs for further information.

org.apache.http.protocol.HttpService.HttpService(final HttpProcessor
the processor to use on requests and responses
processor
,
final ConnectionReuseStrategy
the connection reuse strategy
connStrategy
,
final HttpResponseFactory
the response factory
responseFactory
,
final HttpRequestHandlerResolver
the handler resolver. May be null.
handlerResolver
,
final HttpExpectationVerifier
the expectation verifier. May be null.
expectationVerifier
,
final HttpParams
the HTTP parameters
params
)

(4.3) use HttpService#HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper, HttpExpectationVerifier)

org.apache.http.protocol.HttpService.HttpService(final HttpProcessor
the processor to use on requests and responses
processor
,
final ConnectionReuseStrategy
the connection reuse strategy
connStrategy
,
final HttpResponseFactory
the response factory
responseFactory
,
final HttpRequestHandlerResolver
the handler resolver. May be null.
handlerResolver
,
final HttpParams
the HTTP parameters
params
)

(4.3) use HttpService#HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper)

org.apache.http.protocol.HttpService.HttpService(final HttpProcessor
the processor to use on requests and responses
proc
,
final ConnectionReuseStrategy
the connection reuse strategy
connStrategy
,
final HttpResponseFactory
the response factory
responseFactory
)

(4.1) use HttpService#HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams)

org.apache.http.protocol.HttpService.params

Deprecated as a consequence of HttpParams being deprecated. See corresponding docs for further information.

org.apache.http.protocol.SyncBasicHttpContext

(4.2) HttpContext instances may not be shared by multiple threads

Returns:

this builder
org.apache.http.ssl.SSLContextBuilder.useProtocol
(final String
the SSLContext protocol algorithm name of the requested protocol. See the SSLContext section in the Java Cryptography Architecture Standard Algorithm Name Documentation for more information.
protocol
)

Use setProtocol(String).

Returns:

the character set, or null if not found
org.apache.http.util.EntityUtils.getContentCharSet
(final HttpEntity
must not be null
entity
)

(4.1.3) use ContentType#getOrDefault(HttpEntity)

Returns:

the character set, or null if not found
org.apache.http.util.EntityUtils.getContentMimeType
(final HttpEntity
must not be null
entity
)

(4.1.3) use ContentType#getOrDefault(HttpEntity)