com.khubla.pragmatach.framework.router
Class RouteFinder
java.lang.Object
com.khubla.pragmatach.framework.router.RouteFinder
public class RouteFinder
- extends Object
- Author:
- tome
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouteFinder
public RouteFinder()
getParameterMap
public LinkedHashMap<String,String> getParameterMap()
getPragmatachRoute
public PragmatachRoute getPragmatachRoute()
match
public boolean match(Request request)
throws PragmatachException
- Match route. Returns true if a matching route was found.
There are multiple criteria for matching.
1 - Every part of the URI must match the name or regex
2 - Values must be provided for each method signature variable
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.