Class SendHttpCommand

java.lang.Object
com.streamconverter.command.AbstractStreamCommand
com.streamconverter.command.impl.SendHttpCommand
All Implemented Interfaces:
IStreamCommand

指定された通信先にOutputStreamを送信するコマンドクラス。
  • Constructor Details

    • SendHttpCommand

      public SendHttpCommand(String url)
      デフォルトコンストラクタ
      Parameters:
      url - 送信先のURL
      Throws:
      IllegalArgumentException - URLが無効な場合
    • SendHttpCommand

      public SendHttpCommand(String url, org.springframework.web.reactive.function.client.WebClient webClient)
      カスタム WebClient を使用するコンストラクタ。

      主にテストや特殊なHTTPクライアント設定のために使用する。URLの検証は通常コンストラクタと同様に適用する。

      Parameters:
      url - 送信先のURL
      webClient - 使用するWebClient
  • Method Details