MatchableHandlerMapping that's configured with a
PathPatternParser in order to parse and cache String patterns passed
into the match method.
| Modifier and Type | Field and Description |
|---|---|
| private final MatchableHandlerMapping | |
| private static final int | |
| private final PathPatternParser | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HandlerExecutionChain | getHandler(HttpServletRequest
current HTTP request request)Implements org. Return a handler and any interceptors for this request. |
| public RequestMatchResult | match(HttpServletRequest
the current request request, String the pattern to match pattern)Implements org. Determine whether the request matches the given pattern. |
| delegate | back to summary |
|---|---|
| private final MatchableHandlerMapping delegate | |
| MAX_PATTERNS | back to summary |
|---|---|
| private static final int MAX_PATTERNS | |
| parser | back to summary |
|---|---|
| private final PathPatternParser parser | |
| pathPatternCache | back to summary |
|---|---|
| private final Map<String, PathPattern> pathPatternCache | |
| PathPatternMatchableHandlerMapping | back to summary |
|---|---|
| public PathPatternMatchableHandlerMapping(MatchableHandlerMapping delegate) | |
| getHandler | back to summary |
|---|---|
| public HandlerExecutionChain getHandler(HttpServletRequest request) throws Exception Implements org. Doc from org. Return a handler and any interceptors for this request. The choice may be made on request URL, session state, or any factor the implementing class chooses. The returned HandlerExecutionChain contains a handler Object, rather than even a tag interface, so that handlers are not constrained in any way. For example, a HandlerAdapter could be written to allow another framework's handler objects to be used. Returns
| |
| match | back to summary |
|---|---|
| public RequestMatchResult match(HttpServletRequest request, String pattern) Implements org. Doc from org. Determine whether the request matches the given pattern. Use this method
when
| |