Package | Description |
---|---|
org.apache.commons.httpclient.protocol |
Provides protocol specific socket factory handling.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SecureProtocolSocketFactory
A ProtocolSocketFactory that is secure.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultProtocolSocketFactory
The default class for creating protocol sockets.
|
class |
SSLProtocolSocketFactory
A SecureProtocolSocketFactory that uses JSSE to create sockets.
|
Modifier and Type | Method and Description |
---|---|
ProtocolSocketFactory |
Protocol.getSocketFactory()
Returns the socketFactory.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Protocol(java.lang.String scheme,
ProtocolSocketFactory factory,
int defaultPort)
Constructs a new Protocol.
|
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.