Class GcsRemoteFileTemplate

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.integration.file.remote.RemoteFileOperations<BlobInfo>

    public class GcsRemoteFileTemplate
    extends org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo>
    A remote file template for Google Cloud Storage.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.springframework.integration.file.remote.RemoteFileOperations

        org.springframework.integration.file.remote.RemoteFileOperations.OperationsCallback<F extends Object,​T extends Object>
    • Field Summary

      • Fields inherited from class org.springframework.integration.file.remote.RemoteFileTemplate

        logger, sessionFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      GcsRemoteFileTemplate​(org.springframework.integration.file.remote.session.SessionFactory<BlobInfo> sessionFactory)
      Construct a RemoteFileTemplate with the supplied session factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T,​C>
      T
      executeWithClient​(org.springframework.integration.file.remote.ClientCallback<C,​T> callback)  
      • Methods inherited from class org.springframework.integration.file.remote.RemoteFileTemplate

        afterPropertiesSet, append, append, execute, exists, get, get, getDirectoryExpressionProcessor, getRemoteFileSeparator, getSession, getSessionFactory, getTemporaryFileSuffix, invoke, isUseTemporaryFileName, list, remove, rename, send, send, setAutoCreateDirectory, setBeanFactory, setCharset, setFileNameExpression, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileName
    • Constructor Detail

      • GcsRemoteFileTemplate

        public GcsRemoteFileTemplate​(org.springframework.integration.file.remote.session.SessionFactory<BlobInfo> sessionFactory)
        Construct a RemoteFileTemplate with the supplied session factory.
        Parameters:
        sessionFactory - the session factory.
    • Method Detail

      • executeWithClient

        public <T,​C> T executeWithClient​(org.springframework.integration.file.remote.ClientCallback<C,​T> callback)
        Specified by:
        executeWithClient in interface org.springframework.integration.file.remote.RemoteFileOperations<BlobInfo>
        Overrides:
        executeWithClient in class org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo>