public class RegexRouteMatcher extends Object implements RouteMatcher
Constructor and Description |
---|
RegexRouteMatcher(String path,
Matcher matcher,
List<String> varNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches() |
String |
path() |
Map<Object,String> |
vars()
Get path vars from current path.
|
public String path()
path
in interface RouteMatcher
public boolean matches()
matches
in interface RouteMatcher
RouteMatcher.path()
matches a path pattern.public Map<Object,String> vars()
RouteMatcher
RouteMatcher.matches()
.vars
in interface RouteMatcher
Copyright © 2016. All rights reserved.