public class DNSTimingProtocolSocketFactory
extends org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
Constructor and Description |
---|
DNSTimingProtocolSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params) |
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
IOException
UnknownHostException
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
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
IOException
UnknownHostException
org.apache.commons.httpclient.ConnectTimeoutException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
IOException
UnknownHostException
Copyright © 2005–2015 IIPC. All rights reserved.