public class DefaultFtpsSessionFactory extends AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
bufferSize, clientMode, config, controlEncoding, DEFAULT_REMOTE_WORKING_DIRECTORY, fileType, host, password, port, username
Constructor and Description |
---|
DefaultFtpsSessionFactory() |
Modifier and Type | Method and 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 taken
|
protected 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) |
getSession, setBufferSize, setClientMode, setConfig, setControlEncoding, setFileType, setHost, setPassword, setPort, setUsername
public void setProtocol(String protocol)
public void setUseClientMode(Boolean useClientMode)
public void setSessionCreation(Boolean sessionCreation)
public void setAuthValue(String authValue)
public void setTrustManager(TrustManager trustManager)
public void setCipherSuites(String[] cipherSuites)
public void setProtocols(String[] protocols)
public void setKeyManager(KeyManager keyManager)
public void setNeedClientAuth(Boolean needClientAuth)
public void setWantsClientAuth(Boolean wantsClientAuth)
public void setProt(String prot)
public void setImplicit(boolean implicit)
protected org.apache.commons.net.ftp.FTPSClient createClientInstance()
createClientInstance
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient) throws IOException
AbstractFtpSessionFactory
postProcessClientAfterConnect
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
ftpsClient
- The client.IOException
- Any IOExceptionprotected void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient) throws IOException
AbstractFtpSessionFactory
postProcessClientBeforeConnect
in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
ftpsClient
- The client.IOException
- Any IOException.