javax.net
Class DefaultSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.DefaultSocketFactory
class DefaultSocketFactory
- extends SocketFactory
Default implementation of javax.net.SocketFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSocketFactory
DefaultSocketFactory()
createSocket
public Socket createSocket()
throws IOException
- Overrides:
createSocket in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(String host,
int port,
InetAddress localHost,
int localPort)
throws IOException,
UnknownHostException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(InetAddress host,
int port)
throws IOException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
throws IOException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
Please submit a feedback, bug or feature