Add Duration APIs to specify timeouts.
authorGary Gregory <garydgregory@gmail.com>
Sat, 20 Feb 2021 14:14:07 +0000 (09:14 -0500)
committerGary Gregory <garydgregory@gmail.com>
Sat, 20 Feb 2021 14:14:07 +0000 (09:14 -0500)
commit866e2c03f90a16135d8184e023e39ed88b33334d
tree7c08109b5272f8fbd4bca056678a2f62f98d8846
parent09f128a0f1373f227dea360c55b06c6638f83a36
Add Duration APIs to specify timeouts.

- FTP] Add FTPClient.getControlKeepAliveReplyTimeoutDuration().
- FTP] Add FTPClient.setControlKeepAliveReplyTimeout(Duration).
- FTP] Add FTPClient.getControlKeepAliveTimeoutDuration().
- FTP] Add FTPClient.setControlKeepAliveTimeout(Duration).
src/changes/changes.xml
src/main/java/org/apache/commons/net/examples/ftp/FTPClientExample.java
src/main/java/org/apache/commons/net/ftp/DurationUtils.java [new file with mode: 0644]
src/main/java/org/apache/commons/net/ftp/FTPClient.java
src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java