net.ssh.jsch
Class ProxyHTTP
java.lang.Object
   net.ssh.jsch.ProxyHTTP
net.ssh.jsch.ProxyHTTP
- All Implemented Interfaces: 
- Proxy
- public class ProxyHTTP 
- extends java.lang.Object- implements Proxy
| Constructor Summary | 
| ProxyHTTP(java.lang.String proxy_host)
 | 
| ProxyHTTP(java.lang.String proxy_host,
          int proxy_port)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ProxyHTTP
public ProxyHTTP(java.lang.String proxy_host)
ProxyHTTP
public ProxyHTTP(java.lang.String proxy_host,
                 int proxy_port)
setUserPasswd
public void setUserPasswd(java.lang.String user,
                          java.lang.String passwd)
- 
 
- 
 
connect
public void connect(Session session,
                    java.lang.String host,
                    int port)
             throws JSchException
- 
- Specified by:
- connectin interface- Proxy
 
- 
- Throws:
- JSchException
 
getInputStream
public java.io.InputStream getInputStream()
- 
- Specified by:
- getInputStreamin interface- Proxy
 
- 
 
getOutputStream
public java.io.OutputStream getOutputStream()
- 
- Specified by:
- getOutputStreamin interface- Proxy
 
- 
 
close
public void close()
- 
- Specified by:
- closein interface- Proxy
 
- 
 
getDefaultPort
public static int getDefaultPort()
- 
 
-