public abstract class RequestMappingInfoHandlerMapping extends AbstractHandlerMethodMapping<RequestMappingInfo>
RequestMappingInfo がリクエストとハンドラーメソッド間のマッピングを定義するクラスの抽象基本クラス。mappingsLoggerloggerBEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTEHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| コンストラクターと説明 |
|---|
RequestMappingInfoHandlerMapping() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected SetSE<StringSE> | getDirectPaths(RequestMappingInfo info) パターンではないリクエストマッピングパスを返します。 |
reactor.core.publisher.Mono<HandlerMethod> | getHandlerInternal(ServerWebExchange exchange) 指定されたリクエストのハンドラーメソッドを検索します。 |
protected ComparatorSE<RequestMappingInfo> | getMappingComparator(ServerWebExchange exchange) リクエストに一致する RequestMappingInfos をソートするためのコンパレータを提供します。 |
protected RequestMappingInfo | getMatchingMapping(RequestMappingInfo info, ServerWebExchange exchange) 指定された RequestMappingInfo が現在のリクエストに一致するかどうかを確認し、現在のリクエストに一致する条件(たとえば、URL パターンのサブセット)で(潜在的に新しい)インスタンスを返します。 |
protected void | handleMatch(RequestMappingInfo info, HandlerMethod handlerMethod, ServerWebExchange exchange) リクエストで URI テンプレート変数、マトリックス変数、作成可能なメディア型を公開します。 |
protected HandlerMethod | handleNoMatch(SetSE<RequestMappingInfo> infos, ServerWebExchange exchange) すべての RequestMappingInfos をもう一度繰り返し、少なくとも URL による一致があるかどうかを確認し、それに応じて例外を発生させます。 |
afterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, getMappingForMethod, handlerMethodsInitialized, hasCorsConfigurationSource, initCorsConfiguration, initHandlerMethods, isHandler, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMappingformatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatchgetApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContextcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected SetSE<StringSE> getDirectPaths(RequestMappingInfo info)
AbstractHandlerMethodMappingAbstractHandlerMethodMapping<RequestMappingInfo> の getDirectPaths protected RequestMappingInfo getMatchingMapping(RequestMappingInfo info, ServerWebExchange exchange)
AbstractHandlerMethodMapping<RequestMappingInfo> の getMatchingMapping info - 一致を取得するマッピング exchange - 現在の交換 null。protected ComparatorSE<RequestMappingInfo> getMappingComparator(ServerWebExchange exchange)
AbstractHandlerMethodMapping<RequestMappingInfo> の getMappingComparator exchange - 現在の交換 null)public reactor.core.publisher.Mono<HandlerMethod> getHandlerInternal(ServerWebExchange exchange)
AbstractHandlerMethodMappingAbstractHandlerMethodMapping<RequestMappingInfo> の getHandlerInternal exchange - 現在の交換 Mono (存在する場合)protected void handleMatch(RequestMappingInfo info, HandlerMethod handlerMethod, ServerWebExchange exchange)
AbstractHandlerMethodMapping<RequestMappingInfo> の handleMatch info - 一致するマッピング handlerMethod - マッチング方法 exchange - 現在の交換 HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE, HandlerMapping.MATRIX_VARIABLES_ATTRIBUTE, HandlerMapping.PRODUCIBLE_MEDIA_TYPES_ATTRIBUTEprotected HandlerMethod handleNoMatch(SetSE<RequestMappingInfo> infos, ServerWebExchange exchange) throws ExceptionSE
AbstractHandlerMethodMapping<RequestMappingInfo> の handleNoMatch infos - 登録済みのすべてのマッピング exchange - 現在の交換 nullMethodNotAllowedException - HTTP メソッドではなく URL による一致の場合 UnsupportedMediaTypeStatusException - URL および HTTP メソッドによる一致はあるが、消費可能なメディア型による一致がない場合 NotAcceptableStatusException - URL および HTTP メソッドによる一致はあるが、生成可能なメディア型による一致はない場合 ServerWebInputException - クエリパラメーター条件ではなく、URL および HTTP メソッドによる一致がある場合 ExceptionSE - エラーステータスコードに変換できる詳細を提供します