| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.params |
HttpClient preferences framework.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static HostConfiguration |
HostConfiguration.ANY_HOST_CONFIGURATION
A value to represent any host configuration, instead of using something like
null. |
| 限定符和类型 | 方法和说明 |
|---|---|
HostConfiguration |
ProxyClient.getHostConfiguration()
Returns the
host configuration associated with the
ProxyClient. |
HostConfiguration |
HttpMethodBase.getHostConfiguration()
已过时。
no longer applicable
|
HostConfiguration |
HttpMethod.getHostConfiguration()
已过时。
no longer applicable
|
HostConfiguration |
HttpClient.getHostConfiguration()
Returns the
host configuration associated with the
HttpClient. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given
HTTP method using custom
host configuration. |
int |
HttpClient.executeMethod(HostConfiguration hostconfig,
HttpMethod method,
HttpState state)
Executes the given
HTTP method using the given custom
host configuration with the given custom
HTTP state. |
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration) |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration) |
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
Gets an HttpConnection for a given host configuration.
|
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
已过时。
Use #getConnectionWithTimeout(HostConfiguration, long)
|
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
已过时。
Use #getConnectionWithTimeout(HostConfiguration, long)
|
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
已过时。
Use #getConnectionWithTimeout(HostConfiguration, long)
|
int |
MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration hostConfiguration)
Gets the total number of pooled connections for the given host configuration.
|
int |
MultiThreadedHttpConnectionManager.getConnectionsInUse(HostConfiguration hostConfiguration)
|
HttpConnection |
SimpleHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout) |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout) |
HttpConnection |
HttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
Gets an HttpConnection for a given host configuration.
|
void |
ProxyClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the
host configuration to use with the
ProxyClient. |
void |
HttpMethodBase.setHostConfiguration(HostConfiguration hostconfig)
已过时。
no longer applicable
|
void |
HttpClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the
host configuration to use with the
HttpClient. |
| 构造器和说明 |
|---|
HostConfiguration(HostConfiguration hostConfiguration)
Copy constructor for HostConfiguration
|
HttpConnection(HostConfiguration hostConfiguration)
Creates a new HTTP connection for the given host configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
HttpConnectionManagerParams.getMaxConnectionsPerHost(HostConfiguration hostConfiguration)
Gets the maximum number of connections to be used for a particular host config.
|
void |
HttpConnectionManagerParams.setMaxConnectionsPerHost(HostConfiguration hostConfiguration,
int maxHostConnections)
Sets the maximum number of connections to be used for the given host config.
|
Copyright © 2017. All rights reserved.