HandlerMapping can implement to expose
a request matching API aligned with its internal request matching
configuration and implementation.
HandlerMappingIntrospector
| Modifier and Type | Method and Description |
|---|---|
| public default PathPatternParser | getPatternParser()
Return the parser of this |
| public RequestMatchResult | Returns: the result from request matching, ornull if nonethe current request request, String the pattern to match pattern)Determine whether the request matches the given pattern. |
| getPatternParser | back to summary |
|---|---|
| public default PathPatternParser getPatternParser() Return the parser of this
| |
| match | back to summary |
|---|---|
| public RequestMatchResult match(HttpServletRequest request, String pattern) Determine whether the request matches the given pattern. Use this method
when
| |