クラスの使用
org.springframework.web.servlet.HandlerExecutionChain
HandlerExecutionChain を使用するパッケージ
パッケージ
説明
アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
org.springframework.web.servlet 内の HandlerExecutionChain 使用
修飾子と型メソッド説明protected HandlerExecutionChainDispatcherServlet.getHandler(HttpServletRequestEE request) このリクエストの HandlerExecutionChain を返します。HandlerMapping.getHandler(HttpServletRequestEE request) このリクエストのハンドラーとインターセプターを返します。org.springframework.web.servlet.handler 内の HandlerExecutionChain 使用
修飾子と型メソッド説明protected HandlerExecutionChainAbstractHandlerMapping.getCorsHandlerExecutionChain(HttpServletRequestEE request, HandlerExecutionChain chain, CorsConfiguration config) CORS リクエスト用にHandlerExecutionChainを更新し、チェーンの先頭にインターセプターを挿入して CORS チェックを実行し、プリフライトリクエストに対して no-op ハンドラーも使用します。final HandlerExecutionChainAbstractHandlerMapping.getHandler(HttpServletRequestEE request) 特定のリクエストのハンドラーを検索し、特定のハンドラーが見つからない場合はデフォルトのハンドラーにフォールバックします。protected HandlerExecutionChainAbstractHandlerMapping.getHandlerExecutionChain(ObjectSE handler, HttpServletRequestEE request) 該当するインターセプターを含む、指定されたハンドラー用のHandlerExecutionChainを作成します。型 HandlerExecutionChain のパラメーターを持つ org.springframework.web.servlet.handler のメソッド修飾子と型メソッド説明protected HandlerExecutionChainAbstractHandlerMapping.getCorsHandlerExecutionChain(HttpServletRequestEE request, HandlerExecutionChain chain, CorsConfiguration config) CORS リクエスト用にHandlerExecutionChainを更新し、チェーンの先頭にインターセプターを挿入して CORS チェックを実行し、プリフライトリクエストに対して no-op ハンドラーも使用します。