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
public class DefaultFtpsSessionFactory
- extends AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
SessionFactory for FTPS.
- Since:
- 2.0
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>
afterConnect
protected void afterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
throws java.io.IOException
- Description copied from class:
AbstractFtpSessionFactory
- this is a hook to setup the state of the
FTPClient
impl *after* the
implementation's SocketClient.connect(String)
method's been called but before any
action's been taken.
- Overrides:
afterConnect
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Parameters:
ftpsClient
- the ftp client instance on which to act
- Throws:
java.io.IOException
- if anything should go wrong
postProcessClient
protected void postProcessClient(org.apache.commons.net.ftp.FTPSClient ftpsClient)
throws java.io.IOException
- Overrides:
postProcessClient
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
- Throws:
java.io.IOException