List of usage examples for org.springframework.integration.file.remote ClientCallback doWithClient
T doWithClient(C client);
From source file:org.springframework.integration.ftp.session.FtpRemoteFileTemplate.java
protected <T> T doExecuteWithClient(final ClientCallback<FTPClient, T> callback) { return execute(session -> callback.doWithClient((FTPClient) session.getClientInstance())); }