public interface MatchableHandlerMapping extends HandlerMapping
HandlerMapping
can implement to expose
a request matching API aligned with its internal request matching
configuration and implementation.HandlerMappingIntrospector
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
RequestMatchResult |
match(HttpServletRequest request,
java.lang.String pattern)
Determine whether the given request matches the request criteria.
|
getHandler
RequestMatchResult match(HttpServletRequest request, java.lang.String pattern)
request
- the current requestpattern
- the pattern to matchnull
if none