クラス SftpOutboundGateway

実装されたすべてのインターフェース:
org.reactivestreams.Subscriber<Message<?>>AwareBeanClassLoaderAwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanApplicationContextAwareOrderedExpressionCapableOrderableMessageProducerHeaderPropagationAwareIntegrationPatternNamedComponentIntegrationManagementTrackableComponentMessageHandlerreactor.core.CoreSubscriber<Message<?>>

public class SftpOutboundGateway extends AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry>
SFTP を介してリモートファイル操作を実行するための送信ゲートウェイ。
導入:
2.1
作成者:
Gary Russell, Artem Bilan
  • コンストラクターの詳細

    • SftpOutboundGateway

      public SftpOutboundGateway(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory, MessageSessionCallback<org.apache.sshd.sftp.client.SftpClient.DirEntry,?> messageSessionCallback)
      提供されたセッションファクトリとセッションで操作を実行するためのコールバックを使用してインスタンスを構築します。
      パラメーター:
      sessionFactory - セッションファクトリ。
      messageSessionCallback - コールバック。
    • SftpOutboundGateway

      public SftpOutboundGateway(RemoteFileTemplate<org.apache.sshd.sftp.client.SftpClient.DirEntry> remoteFileTemplate, MessageSessionCallback<org.apache.sshd.sftp.client.SftpClient.DirEntry,?> messageSessionCallback)
      提供されたリモートファイルテンプレートと、セッションで操作を実行するためのコールバックを使用してインスタンスを構築します。
      パラメーター:
      remoteFileTemplate - リモートファイルテンプレート。
      messageSessionCallback - コールバック。
    • SftpOutboundGateway

      public SftpOutboundGateway(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory, StringSE command, StringSE expression)
      指定されたセッションファクトリ、コマンド( "ls"、"get" など)、ファイル名を決定する式を使用してインスタンスを構築します。
      パラメーター:
      sessionFactory - セッションファクトリ。
      command - コマンド。
      expression - ファイル名式。
    • SftpOutboundGateway

      public SftpOutboundGateway(RemoteFileTemplate<org.apache.sshd.sftp.client.SftpClient.DirEntry> remoteFileTemplate, StringSE command, StringSE expression)
      指定されたリモートファイルテンプレート、コマンド( "ls"、"get" など)、ファイル名を決定する式を使用してインスタンスを構築します。
      パラメーター:
      remoteFileTemplate - リモートファイルテンプレート。
      command - コマンド。
      expression - ファイル名式。
  • メソッドの詳細