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 and 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 and 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 and Description |
---|---|
protected void |
SocketHttpServerConnection.bind(Socket socket,
HttpParams params)
Deprecated.
Binds this connection to the given
Socket . |
void |
DefaultHttpClientConnection.bind(Socket socket,
HttpParams params)
Deprecated.
|
void |
DefaultHttpServerConnection.bind(Socket socket,
HttpParams params)
Deprecated.
|
protected void |
SocketHttpClientConnection.bind(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 |
SocketHttpServerConnection.createSessionInputBuffer(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionInputBuffer |
SocketHttpClientConnection.createSessionInputBuffer(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionOutputBuffer |
SocketHttpServerConnection.createSessionOutputBuffer(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket . |
protected SessionOutputBuffer |
SocketHttpClientConnection.createSessionOutputBuffer(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 sessionInputBuffer,
SessionOutputBuffer sessionOutputBuffer,
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 and Description |
---|---|
protected void |
AbstractSessionInputBuffer.init(InputStream inputStream,
int bufferSize,
HttpParams params)
Deprecated.
Initializes this session input buffer.
|
protected void |
AbstractSessionOutputBuffer.init(OutputStream outStream,
int bufferSize,
HttpParams params)
Deprecated.
|
Constructor and Description |
---|
AbstractMessageParser(SessionInputBuffer buffer,
LineParser parser,
HttpParams params)
|
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(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
SocketOutputBuffer(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected HttpClientConnection |
BasicConnFactory.create(Socket socket,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
Constructor and Description |
---|
BasicConnFactory(HttpParams params)
Deprecated.
|
BasicConnFactory(SSLSocketFactory sslfactory,
HttpParams params)
|
BasicConnPool(HttpParams params)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
AbstractHttpMessage.params
Deprecated.
Do not use.
|
Modifier and Type | Method and Description |
---|---|
HttpParams |
AbstractHttpMessage.getParams()
Deprecated.
(4.3) use constructor parameters of configuration API provided by HttpClient
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpMessage.setParams(HttpParams params)
Deprecated.
(4.3) use constructor parameters of configuration API provided by HttpClient
|
Constructor and Description |
---|
AbstractHttpMessage(HttpParams params)
Deprecated.
|
Modifier and Type | Class and 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 and Description |
---|---|
protected HttpParams |
HttpAbstractParamBean.params
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpParams |
DefaultedHttpParams.copy()
Deprecated.
Creates a copy of the local collection with the same default
|
HttpParams |
BasicHttpParams.copy()
Deprecated.
Creates a copy of these parameters.
|
HttpParams |
HttpParams.copy()
Deprecated.
Creates a copy of these parameters.
|
HttpParams |
DefaultedHttpParams.getDefaults()
Deprecated.
|
HttpParams |
AbstractHttpParams.setBooleanParameter(String name,
boolean value)
Deprecated.
|
HttpParams |
HttpParams.setBooleanParameter(String name,
boolean value)
Deprecated.
Assigns a
Boolean to the parameter with the given name |
HttpParams |
AbstractHttpParams.setDoubleParameter(String name,
double value)
Deprecated.
|
HttpParams |
HttpParams.setDoubleParameter(String name,
double value)
Deprecated.
Assigns a
Double to the parameter with the given name |
HttpParams |
AbstractHttpParams.setIntParameter(String name,
int value)
Deprecated.
|
HttpParams |
HttpParams.setIntParameter(String name,
int value)
Deprecated.
Assigns an
Integer to the parameter with the given name |
HttpParams |
AbstractHttpParams.setLongParameter(String name,
long value)
Deprecated.
|
HttpParams |
HttpParams.setLongParameter(String name,
long value)
Deprecated.
Assigns a
Long to the parameter with the given name |
HttpParams |
DefaultedHttpParams.setParameter(String name,
Object value)
Deprecated.
Sets the parameter in the local collection.
|
HttpParams |
SyncBasicHttpParams.setParameter(String name,
Object value)
Deprecated.
|
HttpParams |
BasicHttpParams.setParameter(String name,
Object value)
Deprecated.
|
HttpParams |
HttpParams.setParameter(String name,
Object value)
Deprecated.
Assigns the value to the parameter with the given name.
|
Modifier and Type | Method and 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 String |
HttpProtocolParams.getContentCharset(HttpParams params)
Deprecated.
Obtains value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static 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 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 CodingErrorAction |
HttpProtocolParams.getUnmappableInputAction(HttpParams params)
Deprecated.
Obtains the value of the
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION parameter. |
static 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,
String charset)
Deprecated.
Sets value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static void |
HttpProtocolParams.setHttpElementCharset(HttpParams params,
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,
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,
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,
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 and 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 and Description |
---|---|
HttpParams |
HttpService.getParams()
Deprecated.
(4.3) no longer used.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setParams(HttpParams params)
Deprecated.
(4.1) set
HttpResponseFactory using constructor |
Constructor and Description |
---|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpExpectationVerifier expectationVerifier,
HttpParams params)
|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpParams params)
|
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.