org.apache.camel.component.file.remote
Class FtpsConfiguration

java.lang.Object
  extended by org.apache.camel.component.file.GenericFileConfiguration
      extended by org.apache.camel.component.file.remote.RemoteFileConfiguration
          extended by org.apache.camel.component.file.remote.FtpConfiguration
              extended by org.apache.camel.component.file.remote.FtpsConfiguration

public class FtpsConfiguration
extends FtpConfiguration

FTP Secure (FTP over SSL/TLS) configuration

Version:

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
RemoteFileConfiguration.PathSeparator
 
Field Summary
 
Fields inherited from class org.apache.camel.component.file.remote.FtpConfiguration
DEFAULT_FTP_PORT
 
Fields inherited from class org.apache.camel.component.file.GenericFileConfiguration
directory
 
Constructor Summary
FtpsConfiguration()
           
FtpsConfiguration(URI uri)
           
 
Method Summary
 Long getExecPbsz()
           
 String getExecProt()
           
 String getSecurityProtocol()
          Returns the underlying security protocol.
 boolean isDisableSecureDataChannelDefaults()
           
 boolean isImplicit()
          Returns the security mode(Implicit/Explicit).
 void setDisableSecureDataChannelDefaults(boolean disableSecureDataChannelDefaults)
          Use this option to disable default options when using secure data channel.
 void setExecPbsz(Long execPbsz)
          When using secure data channel you can set the exec protection buffer size
 void setExecProt(String execProt)
          The exec protection level

PROT command.

 void setIsImplicit(boolean isImplicit)
          Set the security mode(Implicit/Explicit).
 void setSecurityProtocol(String securityProtocol)
          Set the underlying security protocol.
 
Methods inherited from class org.apache.camel.component.file.remote.FtpConfiguration
setDefaultPort
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
configure, getConnectTimeout, getHost, getPassword, getPort, getProtocol, getSeparator, getSiteCommand, getSoTimeout, getTimeout, getUsername, isBinary, isIgnoreFileNotFoundOrPermissionError, isPassiveMode, isStepwise, isStreamDownload, isThrowExceptionOnConnectFailed, isUseList, needToNormalize, normalizePath, remoteServerInformation, setBinary, setConnectTimeout, setHost, setIgnoreFileNotFoundOrPermissionError, setPassiveMode, setPassword, setPort, setProtocol, setSeparator, setSiteCommand, setSoTimeout, setStepwise, setStreamDownload, setThrowExceptionOnConnectFailed, setTimeout, setUseList, setUsername
 
Methods inherited from class org.apache.camel.component.file.GenericFileConfiguration
getDirectory, setDirectory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpsConfiguration

public FtpsConfiguration()

FtpsConfiguration

public FtpsConfiguration(URI uri)
Method Detail

getSecurityProtocol

public String getSecurityProtocol()
Returns the underlying security protocol.


setSecurityProtocol

public void setSecurityProtocol(String securityProtocol)
Set the underlying security protocol.


isImplicit

public boolean isImplicit()
Returns the security mode(Implicit/Explicit). true - Implicit Mode / False - Explicit Mode


setIsImplicit

public void setIsImplicit(boolean isImplicit)
Set the security mode(Implicit/Explicit). true - Implicit Mode / False - Explicit Mode


isDisableSecureDataChannelDefaults

public boolean isDisableSecureDataChannelDefaults()

setDisableSecureDataChannelDefaults

public void setDisableSecureDataChannelDefaults(boolean disableSecureDataChannelDefaults)
Use this option to disable default options when using secure data channel.

This allows you to be in full control what the execPbsz and execProt setting should be used.

Default is false

See Also:
setExecPbsz(Long), setExecProt(String)

getExecProt

public String getExecProt()

setExecProt

public void setExecProt(String execProt)
The exec protection level

PROT command. C - Clear S - Safe(SSL protocol only) E - Confidential(SSL protocol only) P - Private

Parameters:
execProt - either C, S, E or P

getExecPbsz

public Long getExecPbsz()

setExecPbsz

public void setExecPbsz(Long execPbsz)
When using secure data channel you can set the exec protection buffer size

Parameters:
execPbsz - the buffer size


Apache Camel