Resolving HTTP-status-codes explicitly to specialized error-pages
[maven-thymeleaf-skin] / src / main / java / de / juplo / thymeproxy / RegexUrlHandlerMapping.java
1 package de.juplo.thymeproxy;
2
3
4 import org.springframework.util.PathMatcher;
5 import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping;
6
7
8
9 /**
10  *
11  * @author kai
12  */
13 public class RegexUrlHandlerMapping extends SimpleUrlHandlerMapping
14 {
15   private final RegexPathMatcher matcher = new RegexPathMatcher();
16
17
18   @Override
19   public PathMatcher getPathMatcher()
20   {
21     return matcher;
22   }
23 }