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.
|
getDefaultpublic FTPSSocketFactory(SSLContext context)
public Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String address, int port) throws UnknownHostException, IOException
createSocket in class SocketFactoryUnknownHostExceptionIOExceptionpublic Socket createSocket(InetAddress address, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws UnknownHostException, IOException
createSocket in class SocketFactoryUnknownHostExceptionIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOException@Deprecated public ServerSocket createServerSocket(int port) throws IOException
insteadport - the portIOException - on error@Deprecated public ServerSocket createServerSocket(int port, int backlog) throws IOException
insteadport - the portbacklog - the backlogIOException - on error@Deprecated public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
insteadport - 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.