| 程序包 | 说明 |
|---|---|
| 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.protocol |
Provides protocol specific socket factory handling.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConnectionPoolTimeoutException
A timeout while connecting waiting for an available connection
from an HttpConnectionManager.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Socket |
ControllerThreadSocketFactory.createSocket(ControllerThreadSocketFactory.SocketTask task,
int timeout) |
static Socket |
ControllerThreadSocketFactory.createSocket(ProtocolSocketFactory socketfactory,
String host,
int port,
InetAddress localAddress,
int localPort,
int timeout)
This method spawns a controller thread overseeing the process of socket
initialisation.
|
Socket |
SSLProtocolSocketFactory.createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Attempts to get a new socket connection to the given host within the given time limit.
|
Socket |
ProtocolSocketFactory.createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Gets a new socket connection to the given host.
|
Socket |
DefaultProtocolSocketFactory.createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Attempts to get a new socket connection to the given host within the given time limit.
|
static Socket |
ReflectionSocketFactory.createSocket(String socketfactoryName,
String host,
int port,
InetAddress localAddress,
int localPort,
int timeout)
This method attempts to execute Socket method available since Java 1.4
using reflection.
|
Copyright © 2017. All rights reserved.