Class DefaultFtpsSessionFactory
java.lang.Object
org.springframework.integration.ftp.session.AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
org.springframework.integration.ftp.session.DefaultFtpsSessionFactory
- All Implemented Interfaces:
SessionFactory<org.apache.commons.net.ftp.FTPFile>
public class DefaultFtpsSessionFactory extends AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
SessionFactory for FTPS.
- Since:
- 2.0
- Author:
- Josh Long, Iwein Fuld, Mark Fisher, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
logger
-
Constructor Summary
Constructors Constructor Description DefaultFtpsSessionFactory()
-
Method Summary
Modifier and Type Method Description protected org.apache.commons.net.ftp.FTPSClient
createClientInstance()
protected void
postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
Will handle additional initialization after client.connect() method was invoked, but before any action on the client has been takenprotected void
postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
Will handle additional initialization before client.connect() method was invoked.void
setAuthValue(String authValue)
void
setCipherSuites(String[] cipherSuites)
void
setImplicit(boolean implicit)
void
setKeyManager(KeyManager keyManager)
void
setNeedClientAuth(Boolean needClientAuth)
void
setProt(String prot)
void
setProtocol(String protocol)
void
setProtocols(String[] protocols)
void
setSessionCreation(Boolean sessionCreation)
void
setTrustManager(TrustManager trustManager)
void
setUseClientMode(Boolean useClientMode)
void
setWantsClientAuth(Boolean wantsClientAuth)
Methods inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
getSession, setBufferSize, setClientMode, setConfig, setConnectTimeout, setControlEncoding, setDataTimeout, setDefaultTimeout, setFileType, setHost, setPassword, setPort, setUsername
-
Constructor Details
-
DefaultFtpsSessionFactory
public DefaultFtpsSessionFactory()
-
-
Method Details
-
setProtocol
-
setUseClientMode
-
setSessionCreation
-
setAuthValue
-
setTrustManager
-
setCipherSuites
-
setProtocols
-
setKeyManager
-
setNeedClientAuth
-
setWantsClientAuth
-
setProt
-
setImplicit
public void setImplicit(boolean implicit) -
createClientInstance
protected org.apache.commons.net.ftp.FTPSClient createClientInstance()- Specified by:
createClientInstance
in classAbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
-
postProcessClientAfterConnect
protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient) throws IOExceptionDescription copied from class:AbstractFtpSessionFactory
Will handle additional initialization after client.connect() method was invoked, but before any action on the client has been taken- Overrides:
postProcessClientAfterConnect
in classAbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Parameters:
ftpsClient
- The client.- Throws:
IOException
- Any IOException
-
postProcessClientBeforeConnect
protected void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)Description copied from class:AbstractFtpSessionFactory
Will handle additional initialization before client.connect() method was invoked.- Overrides:
postProcessClientBeforeConnect
in classAbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Parameters:
ftpsClient
- The client.
-