Class CommonsSocketFactory
- java.lang.Object
-
- org.globus.axis.transport.commons.CommonsSocketFactory
-
- All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory
public class CommonsSocketFactory extends Object implements org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
-
Constructor Summary
Constructors Constructor Description CommonsSocketFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket(String host, int port)SocketcreateSocket(String host, int port, InetAddress localAddress, int localPort)SocketcreateSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params)
-
-
-
Method Detail
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException, UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOExceptionUnknownHostExceptionorg.apache.commons.httpclient.ConnectTimeoutException
-
-