public class FTPSSocketFactory extends SocketFactory
Constructor and Description |
---|
FTPSSocketFactory(SSLContext context) |
Modifier and Type | Method and Description |
---|---|
ServerSocket |
createServerSocket(int port)
Deprecated.
(2.2) use
instead |
ServerSocket |
createServerSocket(int port,
int backlog)
Deprecated.
(2.2) use
instead |
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress ifAddress)
Deprecated.
(2.2) use
instead |
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String address,
int port) |
Socket |
createSocket(String address,
int port,
InetAddress localAddress,
int localPort) |
ServerSocket |
init(ServerSocket socket)
Deprecated.
|
getDefault
public FTPSSocketFactory(SSLContext context)
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String address, int port) throws UnknownHostException, IOException
createSocket
in class SocketFactory
UnknownHostException
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws UnknownHostException, IOException
createSocket
in class SocketFactory
UnknownHostException
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
@Deprecated public ServerSocket createServerSocket(int port) throws IOException
instead
port
- the portIOException
- on error@Deprecated public ServerSocket createServerSocket(int port, int backlog) throws IOException
instead
port
- the portbacklog
- the backlogIOException
- on error@Deprecated public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
instead
port
- the portbacklog
- the backlogifAddress
- the interfaceIOException
- on error@Deprecated public ServerSocket init(ServerSocket socket) throws IOException
FTPSServerSocketFactory.init(java.net.ServerSocket)
socket
- the socketIOException
- on errorCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.