java.lang.Object
com.jcraft.jsch.ProxyHTTP
- All Implemented Interfaces:
Proxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
connect
(SocketFactory socket_factory, String host, int port, int timeout) static int
void
setUserPasswd
(String user, String passwd)
-
Constructor Details
-
ProxyHTTP
-
ProxyHTTP
-
-
Method Details
-
setUserPasswd
-
connect
public void connect(SocketFactory socket_factory, String host, int port, int timeout) throws JSchException - Specified by:
connect
in interfaceProxy
- Throws:
JSchException
-
getInputStream
- Specified by:
getInputStream
in interfaceProxy
-
getOutputStream
- Specified by:
getOutputStream
in interfaceProxy
-
getSocket
-
close
public void close() -
getDefaultPort
public static int getDefaultPort()
-