public interface DataConnectionConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveLocalAddress()
Get the active data connection local host.
|
int |
getActiveLocalPort()
Get the active data connection local port.
|
int |
getIdleTime()
Get the maximum idle time in seconds.
|
String |
getPassiveAddress()
Get passive server address.
|
String |
getPassiveExernalAddress()
Get the passive address that will be returned to clients on the PASV
command.
|
String |
getPassivePorts()
Get the passive ports to be used for data connections.
|
SslConfiguration |
getSslConfiguration()
Get SSL configuration for this data connection.
|
boolean |
isActiveEnabled()
Is active data connection enabled?
|
boolean |
isActiveIpCheck()
Check the PORT IP with the client IP?
|
boolean |
isImplicitSsl() |
boolean |
isPassiveIpCheck()
Tells whether or not IP address check is performed when accepting a
passive data connection.
|
void |
releasePassivePort(int port)
Release passive port.
|
int |
requestPassivePort()
Request a passive port.
|
int getIdleTime()
boolean isActiveEnabled()
boolean isActiveIpCheck()
String getActiveLocalAddress()
InetAddress for active connectionsint getActiveLocalPort()
String getPassiveAddress()
InetAddress used for passive connectionsString getPassiveExernalAddress()
String getPassivePorts()
boolean isPassiveIpCheck()
true, if the IP address checking is enabled;
false, otherwise. A value of true means
that site to site transfers are disabled. In other words, a
passive data connection MUST be made from the same IP address
that issued the PASV command.int requestPassivePort()
void releasePassivePort(int port)
port - The port to be releasedSslConfiguration getSslConfiguration()
SslConfigurationboolean isImplicitSsl()
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.