Class FtpOutboundGatewaySpec
java.lang.Object
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.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
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FtpOutboundGatewaySpec
(FtpOutboundGateway outboundGateway) -
Method Summary
Modifier and TypeMethodDescriptionpatternFileNameFilter
(String pattern) regexFileNameFilter
(String regex) workingDirExpression
(String workingDirExpression) Specify a SpELExpression
to evaluate FTP client working directory against request message.workingDirExpression
(org.springframework.expression.Expression workingDirExpression) Specify a SpELExpression
to evaluate FTP client working directory against request message.workingDirFunction
(Function<org.springframework.messaging.Message<?>, String> workingDirFunction) Specify aFunction
to 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, useTemporaryFileName
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
FtpOutboundGatewaySpec
-
-
Method Details
-
patternFileNameFilter
- Specified by:
patternFileNameFilter
in classorg.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,
FtpOutboundGatewaySpec> - See Also:
-
regexFileNameFilter
- Specified by:
regexFileNameFilter
in classorg.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.commons.net.ftp.FTPFile,
FtpOutboundGatewaySpec> - See Also:
-
workingDirExpression
Specify a SpELExpression
to evaluate FTP client working directory against request message.- Parameters:
workingDirExpression
- the SpEL expression to evaluate working directory- Returns:
- the spec
- See Also:
-
workingDirExpression
public FtpOutboundGatewaySpec workingDirExpression(org.springframework.expression.Expression workingDirExpression) Specify a SpELExpression
to evaluate FTP client working directory against request message.- Parameters:
workingDirExpression
- the SpEL expression to evaluate working directory- Returns:
- the spec
- See Also:
-
workingDirFunction
public FtpOutboundGatewaySpec workingDirFunction(Function<org.springframework.messaging.Message<?>, String> workingDirFunction) Specify aFunction
to evaluate FTP client working directory against request message.- Parameters:
workingDirFunction
- the function to evaluate working directory- Returns:
- the spec
- See Also:
-