// Compile-only stub (API level 10 signatures). Never packaged into the APK. package org.apache.http.conn.scheme; public interface SocketFactory { java.net.Socket createSocket() throws java.io.IOException; java.net.Socket connectSocket(java.net.Socket sock, String host, int port, java.net.InetAddress localAddress, int localPort, org.apache.http.params.HttpParams params) throws java.io.IOException; boolean isSecure(java.net.Socket sock); }