org.resthub.web.springmvc.router.support
Class RouterHandlerResolver
java.lang.Object
org.resthub.web.springmvc.router.support.RouterHandlerResolver
public class RouterHandlerResolver
- extends Object
Resolve Controller and Action for the given route (that contains the
fullAction "controller.action")
- Author:
- Brian Clozel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouterHandlerResolver
public RouterHandlerResolver()
setCachedControllers
public void setCachedControllers(Map<String,Object> controllers)
resolveHandler
public org.springframework.web.method.HandlerMethod resolveHandler(Router.Route route,
String fullAction,
HTTPRequestAdapter req)
throws ActionNotFoundException
- Returns a proper HandlerMethod given the matching Route
- Parameters:
route - the matching Route for the current requestfullAction - string "controller.action"
- Returns:
- HandlerMethod to be used by the RequestAdapter
- Throws:
ActionNotFoundException
Copyright © 2010-2012. All Rights Reserved.