public class SftpMessageHandler
extends org.springframework.integration.file.remote.handler.FileTransferringMessageHandler<com.jcraft.jsch.ChannelSftp.LsEntry>
FileTransferringMessageHandler for SFTP.remoteFileTemplateEXPRESSION_PARSER, logger| Constructor and Description |
|---|
SftpMessageHandler(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory) |
SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate) |
SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate,
org.springframework.integration.file.support.FileExistsMode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doChmod(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
java.lang.String path,
int chmod) |
boolean |
isChmodCapable() |
getTemporaryFileSuffix, handleMessageInternal, isUseTemporaryFileName, onInit, setAutoCreateDirectory, setCharset, setChmod, setChmodOctal, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setTemporaryRemoteDirectoryExpressionString, setUseTemporaryFileNameconfigureMetrics, getActiveCount, getActiveCountLong, getComponentType, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate)
remoteFileTemplate - the template.(org.springframework.integration.file.remote.RemoteFileTemplate)public SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate, org.springframework.integration.file.support.FileExistsMode mode)
remoteFileTemplate - the template.mode - the file exists mode.(org.springframework.integration.file.remote.RemoteFileTemplate, FileExistsMode)public SftpMessageHandler(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
sessionFactory - the session factory.(SessionFactory)public boolean isChmodCapable()
isChmodCapable in class org.springframework.integration.file.remote.handler.FileTransferringMessageHandler<com.jcraft.jsch.ChannelSftp.LsEntry>protected void doChmod(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
java.lang.String path,
int chmod)
doChmod in class org.springframework.integration.file.remote.handler.FileTransferringMessageHandler<com.jcraft.jsch.ChannelSftp.LsEntry>