| Package | Description |
|---|---|
| org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
| org.apache.commons.httpclient.contrib.ssl | |
| org.apache.commons.httpclient.protocol |
Provides protocol specific socket factory handling.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionPoolTimeoutException
A timeout while connecting waiting for an available connection
from an HttpConnectionManager.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
StrictSSLProtocolSocketFactory.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 |
SocketFactoryWrapper.createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params) |
Socket |
EasySSLProtocolSocketFactory.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 |
AuthSSLProtocolSocketFactory.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.
|
| Modifier and Type | Method and Description |
|---|---|
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 © 2012 Apache Software Foundation. All Rights Reserved.