Class FtpOutboundGatewaySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<F>>
org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,FtpOutboundGatewaySpec>
org.springframework.integration.ftp.dsl.FtpOutboundGatewaySpec
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,org.springframework.integration.dsl.ComponentsRegistration
public class FtpOutboundGatewaySpec extends org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,FtpOutboundGatewaySpec>
A
RemoteFileOutboundGatewaySpec for FTP.- Since:
- 5.0
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedFtpOutboundGatewaySpec(FtpOutboundGateway outboundGateway) -
Method Summary
Modifier and Type Method Description FtpOutboundGatewaySpecpatternFileNameFilter(java.lang.String pattern)FtpOutboundGatewaySpecregexFileNameFilter(java.lang.String regex)FtpOutboundGatewaySpecworkingDirExpression(java.lang.String workingDirExpression)Specify a SpELExpressionto evaluate FTP client working directory against request message.FtpOutboundGatewaySpecworkingDirExpression(org.springframework.expression.Expression workingDirExpression)Specify a SpELExpressionto evaluate FTP client working directory against request message.FtpOutboundGatewaySpecworkingDirFunction(java.util.function.Function<org.springframework.messaging.Message<?>,java.lang.String> workingDirFunction)Specify aFunctionto evaluate FTP client working directory against request message.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec
autoCreateDirectory, autoCreateLocalDirectory, charset, chmod, fileExistsMode, fileNameExpression, fileNameExpression, fileNameFunction, fileNameGenerator, filter, filterExpression, filterFunction, getComponentsToRegister, localDirectory, localDirectory, localDirectoryExpression, localDirectoryExpression, localFilenameExpression, localFilenameExpression, localFilenameFunction, mputFilter, mputFilterExpression, mputFilterFunction, options, options, patternMputFilter, regexMputFilter, remoteDirectoryExpression, remoteDirectoryExpression, remoteDirectoryFunction, remoteFileSeparator, renameExpression, renameExpression, renameFunction, temporaryFileSuffix, temporaryRemoteDirectoryExpression, temporaryRemoteDirectoryExpression, temporaryRemoteDirectoryFunction, useTemporaryFileNameMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
Method Details
-
patternFileNameFilter
- Specified by:
patternFileNameFilterin classorg.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,FtpOutboundGatewaySpec>- See Also:
FtpSimplePatternFileListFilter
-
regexFileNameFilter
- Specified by:
regexFileNameFilterin classorg.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,FtpOutboundGatewaySpec>- See Also:
FtpRegexPatternFileListFilter
-
workingDirExpression
Specify a SpELExpressionto evaluate FTP client working directory against request message.- Parameters:
workingDirExpression- the SpEL expression to evaluate working directory- Returns:
- the spec
- See Also:
FtpOutboundGateway.setWorkingDirExpression(Expression)
-
workingDirExpression
public FtpOutboundGatewaySpec workingDirExpression(org.springframework.expression.Expression workingDirExpression)Specify a SpELExpressionto evaluate FTP client working directory against request message.- Parameters:
workingDirExpression- the SpEL expression to evaluate working directory- Returns:
- the spec
- See Also:
FtpOutboundGateway.setWorkingDirExpression(Expression)
-
workingDirFunction
public FtpOutboundGatewaySpec workingDirFunction(java.util.function.Function<org.springframework.messaging.Message<?>,java.lang.String> workingDirFunction)Specify aFunctionto evaluate FTP client working directory against request message.- Parameters:
workingDirFunction- the function to evaluate working directory- Returns:
- the spec
- See Also:
FtpOutboundGateway.setWorkingDirExpression(Expression)
-