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.FTPSClientcreateClientInstance()protected voidpostProcessClientAfterConnect(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 voidpostProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)Will handle additional initialization before client.connect() method was invoked.voidsetAuthValue(String authValue)voidsetCipherSuites(String[] cipherSuites)voidsetImplicit(boolean implicit)voidsetKeyManager(KeyManager keyManager)voidsetNeedClientAuth(Boolean needClientAuth)voidsetProt(String prot)voidsetProtocol(String protocol)voidsetProtocols(String[] protocols)voidsetSessionCreation(Boolean sessionCreation)voidsetTrustManager(TrustManager trustManager)voidsetUseClientMode(Boolean useClientMode)voidsetWantsClientAuth(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:
createClientInstancein classAbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
-
postProcessClientAfterConnect
protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient) throws IOExceptionDescription copied from class:AbstractFtpSessionFactoryWill handle additional initialization after client.connect() method was invoked, but before any action on the client has been taken- Overrides:
postProcessClientAfterConnectin 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:AbstractFtpSessionFactoryWill handle additional initialization before client.connect() method was invoked.- Overrides:
postProcessClientBeforeConnectin classAbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>- Parameters:
ftpsClient- The client.
-