Package | Description |
---|---|
org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
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 |
---|---|
static java.net.Socket |
ControllerThreadSocketFactory.createSocket(ControllerThreadSocketFactory.SocketTask task,
int timeout) |
static java.net.Socket |
ControllerThreadSocketFactory.createSocket(ProtocolSocketFactory socketfactory,
java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
int timeout)
This method spawns a controller thread overseeing the process of socket
initialisation.
|
java.net.Socket |
ProtocolSocketFactory.createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Gets a new socket connection to the given host.
|
java.net.Socket |
DefaultProtocolSocketFactory.createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Attempts to get a new socket connection to the given host within the given time limit.
|
java.net.Socket |
SSLProtocolSocketFactory.createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
HttpConnectionParams params)
Attempts to get a new socket connection to the given host within the given time limit.
|
static java.net.Socket |
ReflectionSocketFactory.createSocket(java.lang.String socketfactoryName,
java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
int timeout)
This method attempts to execute Socket method available since Java 1.4
using reflection.
|
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.