パッケージ | 説明 |
---|---|
org.springframework.web.method | Spring MVC の org.springframework.web.servlet.mvc.method パッケージで使用される、ハンドラーメソッド処理の共通インフラストラクチャ。 |
org.springframework.web.method.annotation | アノテーションベースのハンドラーメソッド処理のクラスをサポートします。 |
org.springframework.web.method.support | ハンドラーメソッド処理の汎用サポートクラス。 |
org.springframework.web.reactive.result.method | ハンドラーメソッド処理のインフラストラクチャ。 |
org.springframework.web.servlet.handler | カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。 |
org.springframework.web.servlet.mvc.method | org.springframework.web.method パッケージに基づいた、ハンドラーメソッド処理用のサーブレットベースのインフラストラクチャ。 |
org.springframework.web.servlet.mvc.method.annotation | org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 |
修飾子と型 | メソッドと説明 |
---|---|
HandlerMethod | HandlerMethod.createWithResolvedBean() 提供されたインスタンスにオブジェクトインスタンスではなく Bean 名が含まれる場合、 HandlerMethod が作成されて返される前に、Bean 名が解決されます。 |
HandlerMethod | HandlerMethod.getResolvedFromHandlerMethod() この HandlerMethod インスタンスが createWithResolvedBean() を介して解決された HandlerMethod を返します。 |
コンストラクターと説明 |
---|
HandlerMethod(HandlerMethod handlerMethod) サブクラスで使用するコンストラクターをコピーします。 |
修飾子と型 | メソッドと説明 |
---|---|
void | ModelFactory.initModel(NativeWebRequest request, ModelAndViewContainer container, HandlerMethod handlerMethod) 次の順序でモデルを設定します。 @SessionAttributes としてリストされている「既知の」セッション属性を取得します。 |
protected boolean | InitBinderDataBinderFactory.isBinderMethodApplicable(HandlerMethod initBinderMethod, WebDataBinder dataBinder) 指定された @InitBinder メソッドを使用して、指定された WebDataBinder インスタンスを初期化するかどうかを決定します。 |
修飾子と型 | クラスと説明 |
---|---|
class | InvocableHandlerMethod HandlerMethodArgumentResolver のリストを介して現在の HTTP リクエストから解決された引数値を使用して、基になるメソッドを呼び出す HandlerMethod の拡張。 |
コンストラクターと説明 |
---|
InvocableHandlerMethod(HandlerMethod handlerMethod) HandlerMethod からインスタンスを作成します。 |
修飾子と型 | クラスと説明 |
---|---|
class | SyncInvocableHandlerMethod InvocableHandlerMethod を介して基礎となるメソッドを呼び出しますが、同期引数リゾルバーのみを使用するため、非同期ラッパーなしで HandlerResult を直接返すことができる HandlerMethod の拡張。 |
修飾子と型 | メソッドと説明 |
---|---|
protected HandlerMethod | AbstractHandlerMethodMapping.createHandlerMethod(ObjectSE handler, MethodSE method) HandlerMethod インスタンスを作成します。 |
protected HandlerMethod | RequestMappingInfoHandlerMapping.handleNoMatch(SetSE<RequestMappingInfo> infos, ServerWebExchange exchange) すべての RequestMappingInfos をもう一度繰り返し、少なくとも URL による一致があるかどうかを確認し、それに応じて例外を発生させます。 |
protected HandlerMethod | AbstractHandlerMethodMapping.handleNoMatch(SetSE<T> mappings, ServerWebExchange exchange) 一致するマッピングが見つからないときに呼び出されます。 |
protected HandlerMethod | AbstractHandlerMethodMapping.lookupHandlerMethod(ServerWebExchange exchange) 現在のリクエストに最適なハンドラーメソッドを検索します。 |
修飾子と型 | メソッドと説明 |
---|---|
reactor.core.publisher.Mono<HandlerMethod> | AbstractHandlerMethodMapping.getHandlerInternal(ServerWebExchange exchange) 指定されたリクエストのハンドラーメソッドを検索します。 |
MapSE<T, HandlerMethod> | AbstractHandlerMethodMapping.getHandlerMethods() すべてのマッピングと HandlerMethod を含む(読み取り専用)マップを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | RequestMappingInfoHandlerMapping.handleMatch(RequestMappingInfo info, HandlerMethod handlerMethod, ServerWebExchange exchange) リクエストで URI テンプレート変数、マトリックス変数、作成可能なメディア型を公開します。 |
protected void | AbstractHandlerMethodMapping.handleMatch(T mapping, HandlerMethod handlerMethod, ServerWebExchange exchange) 一致するマッピングが見つかったときに呼び出されます。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | AbstractHandlerMethodMapping.handlerMethodsInitialized(MapSE<T, HandlerMethod> handlerMethods) すべてのハンドラーメソッドが検出された後に呼び出されます。 |
コンストラクターと説明 |
---|
InvocableHandlerMethod(HandlerMethod handlerMethod) HandlerMethod からインスタンスを作成します。 |
SyncInvocableHandlerMethod(HandlerMethod handlerMethod) |
修飾子と型 | メソッドと説明 |
---|---|
protected HandlerMethod | AbstractHandlerMethodMapping.createHandlerMethod(ObjectSE handler, MethodSE method) HandlerMethod インスタンスを作成します。 |
protected HandlerMethod | AbstractHandlerMethodMapping.getHandlerInternal(HttpServletRequestEE request) 指定されたリクエストのハンドラーメソッドを検索します。 |
protected HandlerMethod | AbstractHandlerMethodMapping.handleNoMatch(SetSE<T> mappings, StringSE lookupPath, HttpServletRequestEE request) 一致するマッピングが見つからないときに呼び出されます。 |
protected HandlerMethod | AbstractHandlerMethodMapping.lookupHandlerMethod(StringSE lookupPath, HttpServletRequestEE request) 現在のリクエストに最適なハンドラーメソッドを検索します。 |
修飾子と型 | メソッドと説明 |
---|---|
MapSE<T, HandlerMethod> | AbstractHandlerMethodMapping.getHandlerMethods() すべてのマッピングと HandlerMethod を含む(読み取り専用)マップを返します。 |
ListSE<HandlerMethod> | AbstractHandlerMethodMapping.getHandlerMethodsForMappingName(StringSE mappingName) 指定されたマッピング名のハンドラーメソッドを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract ModelAndView | AbstractHandlerMethodExceptionResolver.doResolveHandlerMethodException(HttpServletRequestEE request, HttpServletResponseEE response, HandlerMethod handlerMethod, ExceptionSE ex) on ハンドラーの実行中にスローされた特定の例外を実際に解決し、必要に応じて特定のエラーページを表す ModelAndView を返します。 |
StringSE | HandlerMethodMappingNamingStrategy.getName(HandlerMethod handlerMethod, T mapping) 指定された HandlerMethod とマッピングの名前を決定します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | AbstractHandlerMethodMapping.handlerMethodsInitialized(MapSE<T, HandlerMethod> handlerMethods) すべてのハンドラーメソッドが検出された後に呼び出されます。 |
修飾子と型 | メソッドと説明 |
---|---|
protected HandlerMethod | RequestMappingInfoHandlerMapping.handleNoMatch(SetSE<RequestMappingInfo> infos, StringSE lookupPath, HttpServletRequestEE request) すべての RequestMappingInfo をもう一度繰り返し、少なくとも URL で一致するものがあるかどうかを調べ、一致しないものに応じて例外を発生させます。 |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract long | AbstractHandlerMethodAdapter.getLastModifiedInternal(HttpServletRequestEE request, HandlerMethod handlerMethod) |
StringSE | RequestMappingInfoHandlerMethodMappingNamingStrategy.getName(HandlerMethod handlerMethod, RequestMappingInfo mapping) |
protected abstract ModelAndView | AbstractHandlerMethodAdapter.handleInternal(HttpServletRequestEE request, HttpServletResponseEE response, HandlerMethod handlerMethod) 指定されたハンドラーメソッドを使用して、リクエストを処理します。 |
protected abstract boolean | AbstractHandlerMethodAdapter.supportsInternal(HandlerMethod handlerMethod) ハンドラーメソッドを指定して、このアダプターがそれをサポートできるかどうかを返します。 |
修飾子と型 | クラスと説明 |
---|---|
class | ServletInvocableHandlerMethod 登録された HandlerMethodReturnValueHandler を介して戻り値を処理する機能で InvocableHandlerMethod を拡張し、メソッドレベルの @ResponseStatus アノテーションに基づくレスポンスステータスの設定もサポートします。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ServletInvocableHandlerMethod | RequestMappingHandlerAdapter.createInvocableHandlerMethod(HandlerMethod handlerMethod) 指定された HandlerMethod 定義から ServletInvocableHandlerMethod を作成します。 |
protected ModelAndView | ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(HttpServletRequestEE request, HttpServletResponseEE response, HandlerMethod handlerMethod, ExceptionSE exception) @ExceptionHandler メソッドを見つけて呼び出し、発生した例外を処理します。 |
protected ServletInvocableHandlerMethod | ExceptionHandlerExceptionResolver.getExceptionHandlerMethod(HandlerMethod handlerMethod, ExceptionSE exception) 指定された例外の @ExceptionHandler メソッドを見つけます。 |
protected long | RequestMappingHandlerAdapter.getLastModifiedInternal(HttpServletRequestEE request, HandlerMethod handlerMethod) この実装は常に -1 を返します。 |
protected ModelAndView | RequestMappingHandlerAdapter.handleInternal(HttpServletRequestEE request, HttpServletResponseEE response, HandlerMethod handlerMethod) |
protected ModelAndView | RequestMappingHandlerAdapter.invokeHandlerMethod(HttpServletRequestEE request, HttpServletResponseEE response, HandlerMethod handlerMethod) ビューリゾルバーが必要な場合は、 ModelAndView を準備する RequestMapping ハンドラーメソッドを呼び出します。 |
protected boolean | RequestMappingHandlerAdapter.supportsInternal(HandlerMethod handlerMethod) メソッドの引数と戻り値の型は何らかの方法で処理されるため、常に true を返します。 |
コンストラクターと説明 |
---|
ServletInvocableHandlerMethod(HandlerMethod handlerMethod) HandlerMethod からインスタンスを作成します。 |