@InterfaceAudience.Public @InterfaceStability.Evolving public class StandardSocketFactory extends SocketFactory
| コンストラクタと説明 | 
|---|
| StandardSocketFactory()Default empty constructor (for use with the reflection API). | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| Socket | createSocket() | 
| Socket | createSocket(InetAddress addr,
            int port) | 
| Socket | createSocket(InetAddress addr,
            int port,
            InetAddress localHostAddr,
            int localPort) | 
| Socket | createSocket(String host,
            int port) | 
| Socket | createSocket(String host,
            int port,
            InetAddress localHostAddr,
            int localPort) | 
| boolean | equals(Object obj) | 
| int | hashCode() | 
getDefaultpublic StandardSocketFactory()
public Socket createSocket() throws IOException
createSocket クラス内 SocketFactoryIOExceptionpublic Socket createSocket(InetAddress addr, int port) throws IOException
createSocket クラス内 SocketFactoryIOExceptionpublic Socket createSocket(InetAddress addr, int port, InetAddress localHostAddr, int localPort) throws IOException
createSocket クラス内 SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket クラス内 SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localHostAddr, int localPort) throws IOException, UnknownHostException
createSocket クラス内 SocketFactoryIOExceptionUnknownHostExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.