public class TrustAllSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
TrustAllSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress ia,
int i) |
Socket |
createSocket(InetAddress ia,
int i,
InetAddress ia1,
int i1) |
Socket |
createSocket(Socket socket,
String string,
int i,
boolean bln) |
Socket |
createSocket(String string,
int i) |
Socket |
createSocket(String string,
int i,
InetAddress ia,
int i1) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocketpublic static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String string, int i) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress ia, int i) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress ia, int i, InetAddress ia1, int i1) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2011–2016. All rights reserved.