com.jcraft.jsch
Class ProxyHTTP
java.lang.Object
com.jcraft.jsch.ProxyHTTP
- All Implemented Interfaces:
- Proxy
public class ProxyHTTP
- extends Object
- implements Proxy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyHTTP
public ProxyHTTP(String proxy_host)
ProxyHTTP
public ProxyHTTP(String proxy_host,
int proxy_port)
setUserPasswd
public void setUserPasswd(String user,
String passwd)
connect
public void connect(SocketFactory socket_factory,
String host,
int port,
int timeout)
throws JSchException
- Specified by:
connect
in interface Proxy
- Throws:
JSchException
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interface Proxy
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface Proxy
getSocket
public Socket getSocket()
- Specified by:
getSocket
in interface Proxy
close
public void close()
- Specified by:
close
in interface Proxy
getDefaultPort
public static int getDefaultPort()
Copyright © 2018 JCraft,Inc.. All Rights Reserved.