Package org.javalite.activeweb
Class Route
java.lang.Object
org.javalite.activeweb.Route
Instance of this class will contain routing information discovered dynamically on a request.
- Author:
 - Igor Polevoy: 1/8/13 4:21 PM
 
- 
Constructor Summary
ConstructorsConstructorDescriptionRoute(AppController controller, String actionName, String id, HttpMethod method)Route(AppController controller, String actionName, HttpMethod method)Route(RouteBuilder builder, HttpMethod method, boolean custom) - 
Method Summary
Modifier and TypeMethodDescriptionClass<?>protected StringThis is used in specsprotected StringgetId()In case of OPTIONS HTTP method, the controller action might be routed toController#options, in which case you can use this getter to see what was the original intended controller action.booleanprotected booleanbooleanisCustom()protected voidsetIgnoreSpecs(List<IgnoreSpec> ignoreSpecs)toString() 
- 
Constructor Details
- 
Route
 - 
Route
 - 
Route
 
 - 
 - 
Method Details
- 
getController
 - 
getActionMethod
 - 
getArgumentClass
 - 
hasArgument
public boolean hasArgument() - 
getActionName
 - 
getId
 - 
getHttpMethod
 - 
getControllerPath
 - 
getControllerClassName
This is used in specs- Returns:
 - controller class name
 
 - 
setIgnoreSpecs
 - 
ignores
 - 
isCustom
public boolean isCustom() - 
getTargetAction
In case of OPTIONS HTTP method, the controller action might be routed toController#options, in which case you can use this getter to see what was the original intended controller action. - 
toString
 
 -