projects
/
maven-thymeleaf-skin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP: proxy
[maven-thymeleaf-skin]
/
src
/
main
/
java
/
de
/
juplo
/
thymeproxy
/
RegexUrlHandlerMapping.java
diff --git
a/src/main/java/de/juplo/thymeproxy/RegexUrlHandlerMapping.java
b/src/main/java/de/juplo/thymeproxy/RegexUrlHandlerMapping.java
index
c7e52b4
..
9c27b43
100644
(file)
--- a/
src/main/java/de/juplo/thymeproxy/RegexUrlHandlerMapping.java
+++ b/
src/main/java/de/juplo/thymeproxy/RegexUrlHandlerMapping.java
@@
-1,16
+1,23
@@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
package de.juplo.thymeproxy;
package de.juplo.thymeproxy;
+import org.springframework.util.PathMatcher;
+import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping;
+
+
+
/**
*
* @author kai
*/
/**
*
* @author kai
*/
-public class RegexUrlHandlerMapping
+public class RegexUrlHandlerMapping
extends SimpleUrlHandlerMapping
{
{
-
+ private final RegexPathMatcher matcher = new RegexPathMatcher();
+
+
+ @Override
+ public PathMatcher getPathMatcher()
+ {
+ return matcher;
+ }
}
}