|
|
@ -23,16 +23,25 @@ public class SSLSocketFactory extends SocketFactory {
|
|
|
|
return super.createSocket();
|
|
|
|
return super.createSocket();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Socket createSocket(InetAddress addr1, int i, InetAddress addr2, int j) throws IOException {
|
|
|
|
public Socket createSocket(InetAddress addr1, int i, InetAddress addr2, int j) throws IOException {
|
|
|
|
return super.createSocket();
|
|
|
|
return super.createSocket();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Socket createSocket(String s, int i) throws IOException {
|
|
|
|
public Socket createSocket(String s, int i) throws IOException {
|
|
|
|
return super.createSocket();
|
|
|
|
return super.createSocket();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Socket createSocket(String s, int i, InetAddress addr, int j) throws IOException {
|
|
|
|
public Socket createSocket(String s, int i, InetAddress addr, int j) throws IOException {
|
|
|
|
return super.createSocket();
|
|
|
|
return super.createSocket();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// the method below is an abstract method in the actual Java class, but we need to implement it
|
|
|
|
|
|
|
|
// explicitly due to Infer's dynamic dispatch woes
|
|
|
|
|
|
|
|
public Socket createSocket(Socket s, String host, int i, boolean b) throws IOException {
|
|
|
|
|
|
|
|
return super.createSocket();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|