|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sauronsoftware.ftp4j.connectors.HTTPTunnelConnector
public class HTTPTunnelConnector
This one connects a remote ftp host via a HTTP 1.1 proxy which allows tunneling through the HTTP CONNECT method.
Constructor Summary | |
---|---|
HTTPTunnelConnector(java.lang.String proxyHost,
int proxyPort)
Builds the connector. |
|
HTTPTunnelConnector(java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyUser,
java.lang.String proxyPass)
Builds the connector. |
Method Summary | |
---|---|
FTPConnection |
connectForCommunicationChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP communication channel. |
FTPConnection |
connectForDataTransferChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP data transfer channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPTunnelConnector(java.lang.String proxyHost, int proxyPort, java.lang.String proxyUser, java.lang.String proxyPass)
proxyHost
- The proxy host name.proxyPort
- The proxy port.proxyUser
- The username for proxy authentication.proxyPass
- The password for proxy authentication.public HTTPTunnelConnector(java.lang.String proxyHost, int proxyPort)
proxyHost
- The proxy host name.proxyPort
- The proxy port.Method Detail |
---|
public FTPConnection connectForCommunicationChannel(java.lang.String host, int port) throws java.io.IOException
FTPConnector
connectForCommunicationChannel
in interface FTPConnector
host
- The remote host name or address.port
- The remote port.
java.io.IOException
- If the connection cannot be established.public FTPConnection connectForDataTransferChannel(java.lang.String host, int port) throws java.io.IOException
FTPConnector
connectForDataTransferChannel
in interface FTPConnector
host
- The remote host name or address.port
- The remote port.
java.io.IOException
- If the connection cannot be established.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |