org.springframework.integration.ftp.session
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFtpsSessionFactory
public DefaultFtpsSessionFactory()
setProtocol
public void setProtocol(java.lang.String protocol)
setUseClientMode
public void setUseClientMode(java.lang.Boolean useClientMode)
setSessionCreation
public void setSessionCreation(java.lang.Boolean sessionCreation)
setAuthValue
public void setAuthValue(java.lang.String authValue)
setTrustManager
public void setTrustManager(javax.net.ssl.TrustManager trustManager)
setCipherSuites
public void setCipherSuites(java.lang.String[] cipherSuites)
setProtocols
public void setProtocols(java.lang.String[] protocols)
setKeyManager
public void setKeyManager(javax.net.ssl.KeyManager keyManager)
setNeedClientAuth
public void setNeedClientAuth(java.lang.Boolean needClientAuth)
setWantsClientAuth
public void setWantsClientAuth(java.lang.Boolean wantsClientAuth)
setProt
public void setProt(java.lang.String prot)
setImplicit
public void setImplicit(boolean implicit)
createClientInstance
protected org.apache.commons.net.ftp.FTPSClient createClientInstance()
- Specified by:
createClientInstance
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
postProcessClientAfterConnect
protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
throws java.io.IOException
- Description 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 class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Throws:
java.io.IOException
postProcessClientBeforeConnect
protected void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
throws java.io.IOException
- Description copied from class:
AbstractFtpSessionFactory
- Will handle additional initialization before client.connect() method was invoked.
- Overrides:
postProcessClientBeforeConnect
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Throws:
java.io.IOException