Constructor and Description |
---|
ProxyHTTP(String proxy_host) |
ProxyHTTP(String proxy_host,
int proxy_port) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(SocketFactory socket_factory,
String host,
int port,
int timeout) |
static int |
getDefaultPort() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
Socket |
getSocket() |
void |
setUserPasswd(String user,
String passwd) |
public ProxyHTTP(String proxy_host)
public ProxyHTTP(String proxy_host, int proxy_port)
public void connect(SocketFactory socket_factory, String host, int port, int timeout) throws JSchException
connect
in interface Proxy
JSchException
public InputStream getInputStream()
getInputStream
in interface Proxy
public OutputStream getOutputStream()
getOutputStream
in interface Proxy
public static int getDefaultPort()
Copyright © 2015 JCraft,Inc.. All rights reserved.