Package org.apache.commons.net.ftp
Class FTPSSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- org.apache.commons.net.ftp.FTPSSocketFactory
-
public class FTPSSocketFactory extends javax.net.SocketFactory
Implementation of org.apache.commons.net.SocketFactory- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description FTPSSocketFactory(javax.net.ssl.SSLContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.net.ServerSocket
createServerSocket(int port)
Deprecated.(2.2) useinstead
java.net.ServerSocket
createServerSocket(int port, int backlog)
Deprecated.(2.2) useinstead
java.net.ServerSocket
createServerSocket(int port, int backlog, java.net.InetAddress ifAddress)
Deprecated.(2.2) useinstead
java.net.Socket
createSocket()
java.net.Socket
createSocket(java.lang.String address, int port)
java.net.Socket
createSocket(java.lang.String address, int port, java.net.InetAddress localAddress, int localPort)
java.net.Socket
createSocket(java.net.InetAddress address, int port)
java.net.Socket
createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort)
java.net.ServerSocket
init(java.net.ServerSocket socket)
Deprecated.
-
-
-
Method Detail
-
createSocket
public java.net.Socket createSocket() throws java.io.IOException
- Overrides:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String address, int port) throws java.net.UnknownHostException, java.io.IOException
- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.net.UnknownHostException
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress address, int port) throws java.io.IOException
- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String address, int port, java.net.InetAddress localAddress, int localPort) throws java.net.UnknownHostException, java.io.IOException
- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.net.UnknownHostException
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
-
createServerSocket
@Deprecated public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
Deprecated.(2.2) useinstead
- Parameters:
port
- the port- Returns:
- the socket
- Throws:
java.io.IOException
- on error
-
createServerSocket
@Deprecated public java.net.ServerSocket createServerSocket(int port, int backlog) throws java.io.IOException
Deprecated.(2.2) useinstead
- Parameters:
port
- the portbacklog
- the backlog- Returns:
- the socket
- Throws:
java.io.IOException
- on error
-
createServerSocket
@Deprecated public java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException
Deprecated.(2.2) useinstead
- Parameters:
port
- the portbacklog
- the backlogifAddress
- the interface- Returns:
- the socket
- Throws:
java.io.IOException
- on error
-
init
@Deprecated public java.net.ServerSocket init(java.net.ServerSocket socket) throws java.io.IOException
Deprecated.- Parameters:
socket
- the socket- Returns:
- the socket
- Throws:
java.io.IOException
- on error
-
-