| Package | Description |
|---|---|
| org.apache.http |
Core HTTP component APIs and primitives.
|
| org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
| org.apache.http.impl.io |
Default implementations of message parses and writers
for synchronous, blocking communication.
|
| org.apache.http.impl.pool |
Default implementations of client side connection pools
for synchronous, blocking communication.
|
| org.apache.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
| org.apache.http.params |
Deprecated.
|
| org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
| Modifier and Type | Method | Description |
|---|---|---|
HttpParams |
HttpMessage.getParams() |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
HttpMessage.setParams(HttpParams params) |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultHttpClientConnection.bind(java.net.Socket socket,
HttpParams params) |
Deprecated.
|
void |
DefaultHttpServerConnection.bind(java.net.Socket socket,
HttpParams params) |
Deprecated.
|
protected void |
SocketHttpClientConnection.bind(java.net.Socket socket,
HttpParams params) |
Deprecated.
Binds this connection to the given
Socket. |
protected void |
SocketHttpServerConnection.bind(java.net.Socket socket,
HttpParams params) |
Deprecated.
Binds this connection to the given
Socket. |
protected HttpMessageParser<HttpRequest> |
AbstractHttpServerConnection.createRequestParser(SessionInputBuffer buffer,
HttpRequestFactory requestFactory,
HttpParams params) |
Deprecated.
Creates an instance of
HttpMessageParser to be used for parsing
HTTP requests received over this connection. |
protected HttpMessageWriter<HttpRequest> |
AbstractHttpClientConnection.createRequestWriter(SessionOutputBuffer buffer,
HttpParams params) |
Deprecated.
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP requests sent over this connection. |
protected HttpMessageParser<HttpResponse> |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params) |
Deprecated.
Creates an instance of
HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
protected HttpMessageWriter<HttpResponse> |
AbstractHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer,
HttpParams params) |
Deprecated.
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP responses sent over this connection. |
protected SessionInputBuffer |
SocketHttpClientConnection.createSessionInputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket. |
protected SessionInputBuffer |
SocketHttpServerConnection.createSessionInputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket. |
protected SessionOutputBuffer |
SocketHttpClientConnection.createSessionOutputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket. |
protected SessionOutputBuffer |
SocketHttpServerConnection.createSessionOutputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket. |
protected void |
AbstractHttpClientConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params) |
Deprecated.
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
protected void |
AbstractHttpServerConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params) |
Deprecated.
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractSessionInputBuffer.init(java.io.InputStream instream,
int buffersize,
HttpParams params) |
Deprecated.
Initializes this session input buffer.
|
protected void |
AbstractSessionOutputBuffer.init(java.io.OutputStream outstream,
int buffersize,
HttpParams params) |
Deprecated.
|
| Constructor | Description |
|---|---|
AbstractMessageParser(SessionInputBuffer buffer,
LineParser parser,
HttpParams params) |
Deprecated.
|
AbstractMessageWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
Deprecated.
|
DefaultHttpRequestParser(SessionInputBuffer buffer,
LineParser lineParser,
HttpRequestFactory requestFactory,
HttpParams params) |
|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser lineParser,
HttpResponseFactory responseFactory,
HttpParams params) |
|
HttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params) |
Deprecated.
Creates an instance of this class.
|
HttpRequestWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
Deprecated.
|
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params) |
Deprecated.
Creates an instance of this class.
|
HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
Deprecated.
|
SocketInputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of this class.
|
SocketOutputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params) |
Deprecated.
Creates an instance of this class.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected HttpClientConnection |
BasicConnFactory.create(java.net.Socket socket,
HttpParams params) |
Deprecated.
(4.3) no longer used.
|
| Constructor | Description |
|---|---|
BasicConnFactory(javax.net.ssl.SSLSocketFactory sslfactory,
HttpParams params) |
Deprecated.
|
BasicConnFactory(HttpParams params) |
Deprecated.
|
BasicConnPool(HttpParams params) |
Deprecated.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected HttpParams |
AbstractHttpMessage.params |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
HttpParams |
AbstractHttpMessage.getParams() |
Deprecated.
(4.3) use constructor parameters of configuration API provided by HttpClient
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractHttpMessage.setParams(HttpParams params) |
Deprecated.
(4.3) use constructor parameters of configuration API provided by HttpClient
|
| Constructor | Description |
|---|---|
AbstractHttpMessage(HttpParams params) |
Deprecated.
(4.3) use
AbstractHttpMessage() |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractHttpParams |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
class |
BasicHttpParams |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
class |
DefaultedHttpParams |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
class |
SyncBasicHttpParams |
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config'
and 'org.apache.http.client.config'
|
| Modifier and Type | Field | Description |
|---|---|---|
protected HttpParams |
HttpAbstractParamBean.params |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
HttpParams |
BasicHttpParams.copy() |
Deprecated.
Creates a copy of these parameters.
|
HttpParams |
DefaultedHttpParams.copy() |
Deprecated.
Creates a copy of the local collection with the same default
|
HttpParams |
HttpParams.copy() |
Deprecated.
Creates a copy of these parameters.
|
HttpParams |
DefaultedHttpParams.getDefaults() |
Deprecated.
|
HttpParams |
AbstractHttpParams.setBooleanParameter(java.lang.String name,
boolean value) |
Deprecated.
|
HttpParams |
HttpParams.setBooleanParameter(java.lang.String name,
boolean value) |
Deprecated.
Assigns a
Boolean to the parameter with the given name |
HttpParams |
AbstractHttpParams.setDoubleParameter(java.lang.String name,
double value) |
Deprecated.
|
HttpParams |
HttpParams.setDoubleParameter(java.lang.String name,
double value) |
Deprecated.
Assigns a
Double to the parameter with the given name |
HttpParams |
AbstractHttpParams.setIntParameter(java.lang.String name,
int value) |
Deprecated.
|
HttpParams |
HttpParams.setIntParameter(java.lang.String name,
int value) |
Deprecated.
Assigns an
Integer to the parameter with the given name |
HttpParams |
AbstractHttpParams.setLongParameter(java.lang.String name,
long value) |
Deprecated.
|
HttpParams |
HttpParams.setLongParameter(java.lang.String name,
long value) |
Deprecated.
Assigns a
Long to the parameter with the given name |
HttpParams |
BasicHttpParams.setParameter(java.lang.String name,
java.lang.Object value) |
Deprecated.
|
HttpParams |
DefaultedHttpParams.setParameter(java.lang.String name,
java.lang.Object value) |
Deprecated.
Sets the parameter in the local collection.
|
HttpParams |
HttpParams.setParameter(java.lang.String name,
java.lang.Object value) |
Deprecated.
Assigns the value to the parameter with the given name.
|
HttpParams |
SyncBasicHttpParams.setParameter(java.lang.String name,
java.lang.Object value) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BasicHttpParams.copyParams(HttpParams target) |
Deprecated.
Copies the locally defined parameters to the argument parameters.
|
static ConnectionConfig |
HttpParamConfig.getConnectionConfig(HttpParams params) |
Deprecated.
|
static int |
HttpConnectionParams.getConnectionTimeout(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter. |
static java.lang.String |
HttpProtocolParams.getContentCharset(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static java.lang.String |
HttpProtocolParams.getHttpElementCharset(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.HTTP_ELEMENT_CHARSET parameter. |
static int |
HttpConnectionParams.getLinger(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.SO_LINGER parameter. |
static java.nio.charset.CodingErrorAction |
HttpProtocolParams.getMalformedInputAction(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION parameter. |
static MessageConstraints |
HttpParamConfig.getMessageConstraints(HttpParams params) |
Deprecated.
|
static int |
HttpConnectionParams.getSocketBufferSize(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter. |
static SocketConfig |
HttpParamConfig.getSocketConfig(HttpParams params) |
Deprecated.
|
static boolean |
HttpConnectionParams.getSoKeepalive(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.SO_KEEPALIVE parameter. |
static boolean |
HttpConnectionParams.getSoReuseaddr(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.SO_REUSEADDR parameter. |
static int |
HttpConnectionParams.getSoTimeout(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.SO_TIMEOUT parameter. |
static boolean |
HttpConnectionParams.getTcpNoDelay(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.TCP_NODELAY parameter. |
static java.nio.charset.CodingErrorAction |
HttpProtocolParams.getUnmappableInputAction(HttpParams params) |
Deprecated.
Obtains the value of the
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION parameter. |
static java.lang.String |
HttpProtocolParams.getUserAgent(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.USER_AGENT parameter. |
static ProtocolVersion |
HttpProtocolParams.getVersion(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.PROTOCOL_VERSION parameter. |
static boolean |
HttpConnectionParams.isStaleCheckingEnabled(HttpParams params) |
Deprecated.
Obtains value of the
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter. |
static void |
HttpConnectionParams.setConnectionTimeout(HttpParams params,
int timeout) |
Deprecated.
Sets value of the
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter. |
static void |
HttpProtocolParams.setContentCharset(HttpParams params,
java.lang.String charset) |
Deprecated.
Sets value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static void |
HttpProtocolParams.setHttpElementCharset(HttpParams params,
java.lang.String charset) |
Deprecated.
Sets value of the
CoreProtocolPNames.HTTP_ELEMENT_CHARSET parameter. |
static void |
HttpConnectionParams.setLinger(HttpParams params,
int value) |
Deprecated.
Sets value of the
CoreConnectionPNames.SO_LINGER parameter. |
static void |
HttpProtocolParams.setMalformedInputAction(HttpParams params,
java.nio.charset.CodingErrorAction action) |
Deprecated.
Sets value of the
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION parameter. |
static void |
HttpConnectionParams.setSocketBufferSize(HttpParams params,
int size) |
Deprecated.
Sets value of the
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter. |
static void |
HttpConnectionParams.setSoKeepalive(HttpParams params,
boolean enableKeepalive) |
Deprecated.
Sets value of the
CoreConnectionPNames.SO_KEEPALIVE parameter. |
static void |
HttpConnectionParams.setSoReuseaddr(HttpParams params,
boolean reuseaddr) |
Deprecated.
Sets value of the
CoreConnectionPNames.SO_REUSEADDR parameter. |
static void |
HttpConnectionParams.setSoTimeout(HttpParams params,
int timeout) |
Deprecated.
Sets value of the
CoreConnectionPNames.SO_TIMEOUT parameter. |
static void |
HttpConnectionParams.setStaleCheckingEnabled(HttpParams params,
boolean value) |
Deprecated.
Sets value of the
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter. |
static void |
HttpConnectionParams.setTcpNoDelay(HttpParams params,
boolean value) |
Deprecated.
Sets value of the
CoreConnectionPNames.TCP_NODELAY parameter. |
static void |
HttpProtocolParams.setUnmappableInputAction(HttpParams params,
java.nio.charset.CodingErrorAction action) |
Deprecated.
Sets the value of the
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION parameter. |
static void |
HttpProtocolParams.setUseExpectContinue(HttpParams params,
boolean b) |
Deprecated.
Sets value of the
CoreProtocolPNames.USE_EXPECT_CONTINUE parameter. |
static void |
HttpProtocolParams.setUserAgent(HttpParams params,
java.lang.String useragent) |
Deprecated.
Sets value of the
CoreProtocolPNames.USER_AGENT parameter. |
static void |
HttpProtocolParams.setVersion(HttpParams params,
ProtocolVersion version) |
Deprecated.
Sets value of the
CoreProtocolPNames.PROTOCOL_VERSION parameter. |
static boolean |
HttpProtocolParams.useExpectContinue(HttpParams params) |
Deprecated.
Obtains value of the
CoreProtocolPNames.USE_EXPECT_CONTINUE parameter. |
| Constructor | Description |
|---|---|
DefaultedHttpParams(HttpParams local,
HttpParams defaults) |
Deprecated.
Create the defaulted set of HttpParams.
|
HttpAbstractParamBean(HttpParams params) |
Deprecated.
|
HttpConnectionParamBean(HttpParams params) |
Deprecated.
|
HttpProtocolParamBean(HttpParams params) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
HttpParams |
HttpService.getParams() |
Deprecated.
(4.3) no longer used.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
HttpService.setParams(HttpParams params) |
Deprecated.
(4.1) set
HttpResponseFactory using constructor |
| Constructor | Description |
|---|---|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpParams params) |
|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpExpectationVerifier expectationVerifier,
HttpParams params) |