Package org.apache.commons.net.ftp
Class FTPSSocketFactory
java.lang.Object
javax.net.SocketFactory
org.apache.commons.net.ftp.FTPSSocketFactory
Socket factory for FTPS connections.
- Since:
- 2.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateServerSocket(int port) Deprecated.createServerSocket(int port, int backlog) Deprecated.(2.2) useinsteadcreateServerSocket(int port, int backlog, InetAddress ifAddress) Deprecated.(2.2) useinsteadcreateSocket(String address, int port) createSocket(String address, int port, InetAddress localAddress, int localPort) createSocket(InetAddress address, int port) createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) init(ServerSocket socket) Deprecated.Methods inherited from class javax.net.SocketFactorygetDefault
- 
Constructor Details- 
FTPSSocketFactory
 
- 
- 
Method Details- 
createServerSocketDeprecated.(2.2) useinstead- Parameters:
- port- the port
- Returns:
- the socket
- Throws:
- IOException- on error
 
- 
createServerSocketDeprecated.(2.2) useinstead- Parameters:
- port- the port
- backlog- the backlog
- Returns:
- the socket
- Throws:
- IOException- on error
 
- 
createServerSocket@Deprecated public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException Deprecated.(2.2) useinstead- Parameters:
- port- the port
- backlog- the backlog
- ifAddress- the interface
- Returns:
- the socket
- Throws:
- IOException- on error
 
- 
createSocket- Overrides:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocket- Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocketpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocket- Specified by:
- createSocketin class- SocketFactory
- Throws:
- UnknownHostException
- IOException
 
- 
createSocketpublic Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws UnknownHostException, IOException - Specified by:
- createSocketin class- SocketFactory
- Throws:
- UnknownHostException
- IOException
 
- 
initDeprecated.- Parameters:
- socket- the socket
- Returns:
- the socket
- Throws:
- IOException- on error
 
 
- 
instead