インターフェース ChannelEntryPoint

すべての既知の実装クラス:
AbstractRetryEntryPointRetryWithHttpEntryPointRetryWithHttpsEntryPoint

public interface ChannelEntryPoint
ChannelProcessor が Web チャネルを起動するために使用できます。

ChannelProcessor は、新しい Web チャネルを直接起動するか、別のクラスに委譲するかを選択できます。ChannelEntryPoint は、ChannelProcessor がこの委譲を実行するのを支援するプラグイン可能なインターフェースです。

  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    安全なチャネルを開始します。
  • メソッドの詳細

    • commence

      void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOExceptionSE, jakarta.servlet.ServletException
      安全なチャネルを開始します。

      実装は、必要に応じて ServletResponse のヘッダーを変更して、実装でサポートされているチャネル型を使用してユーザーエージェントを開始する必要があります。

      パラメーター:
      request - ChannelProcessor が拒否したこと
      response - ユーザーエージェントが新しいチャネルの使用を開始できるように
      例外:
      IOExceptionSE
      jakarta.servlet.ServletException