| Constructor and Description | 
|---|
| NoStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumSet<HttpMethod> | allowedMethods() | 
| boolean | canHandle(Class<?> type,
         Method method)Returns true if this route is able to redirect to this method. | 
| boolean | canHandle(String uri)Returns if this route can handle this URI | 
| ControllerMethod | controllerMethod(MutableRequest request,
                String uri)Returns the controller method for this specifig rule. | 
| ControllerMethod | getControllerMethod() | 
| String | getOriginalUri()Returns the original uri for this route | 
| int | getPriority()Routes will be ordered according to priority. | 
| String | urlFor(Class<?> type,
      Method m,
      Object... params)Returns the url which invokes this rule with values extracted from this
 parameter object. | 
public ControllerMethod controllerMethod(MutableRequest request, String uri)
RouteRoute.canHandle(String) method, and see if request
 HTTP method is in Route.allowedMethods() before calling this method.controllerMethod in interface Routepublic String urlFor(Class<?> type, Method m, Object... params)
Routepublic boolean canHandle(Class<?> type, Method method)
Routepublic boolean canHandle(String uri)
Routepublic int getPriority()
RoutegetPriority in interface Routepublic EnumSet<HttpMethod> allowedMethods()
allowedMethods in interface Routepublic String getOriginalUri()
RoutegetOriginalUri in interface Routepublic ControllerMethod getControllerMethod()
getControllerMethod in interface RouteCopyright © 2014 Caelum. All rights reserved.