- GenericAction - Class in org.nanoj.web.tinymvc
-
Generic Action (abstract) implementation with few useful methods
- GenericAction() - Constructor for class org.nanoj.web.tinymvc.GenericAction
-
- getAction(String) - Method in interface org.nanoj.web.tinymvc.provider.ActionProvider
-
Return the action instance for the given action name
- getAction(String) - Method in class org.nanoj.web.tinymvc.provider.SpecificActionProvider
-
- getAction(String) - Method in class org.nanoj.web.tinymvc.provider.StandardActionProvider
-
- getActionName() - Method in exception org.nanoj.web.tinymvc.TinyMvcActionNotFoundException
-
Returns the action name
- getActionsPackage() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getActionsPattern() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getActionsProviderClassName() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getControllerClass() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the controller class used to process the action
e.g. : "ComputeAction" Java class
- getControllerMethod() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the controller method used to process the action
( a method of the controller class )
e.g. : "add" Java method ( defined in "ComputeAction" Java class )
- getControllerResult() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getDefaultAction() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getInputParameter(HttpServletRequest, String, Class<T>) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns an InputParameter of the expected class for the given parameter name
- getInstance() - Static method in class org.nanoj.web.tinymvc.env.FieldValuesManager
-
- getLayoutName() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the layout name in short format (can be null)
e.g. : "mylayout"
- getLayoutPath() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the layout path in the current web-app (can be null)
e.g. : "/WEB-INF/layouts/mylayout.jsp"
- getLayoutsFolder() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getLayoutsSuffix() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getLayoutTemplateResolver(Configuration) - Static method in class org.nanoj.web.tinymvc.processor.ThymeleafUtil
-
- getLogger(Class<?>) - Static method in class org.nanoj.web.tinymvc.util.ConsoleLogger
-
- getMethod() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the current action method that has been executed to produce the current result
- getName() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the current action conventional name
e.g. : 'compute' for 'Compute' or 'myAction' for 'MyAction'
- getName() - Method in class org.nanoj.web.tinymvc.env.InputParameter
-
- getOriginalName() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the current action original name (without modification)
e.g. : 'myaction' or 'MyAction'
- getOriginalResult() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns original result (never null)
e.g. : "mypage" or "mypage : mylayout"
- getPageName() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the page name in short format (never null)
e.g. : "mypage"
- getPagePath() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the page path in the current web-app (never null)
e.g. : "/WEB-INF/views/mypage.jsp"
- getParamAsBoolean(HttpServletRequest, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a boolean
Throws an exception if not found
- getParamAsBoolean(HttpServletRequest, String, Boolean) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a boolean
With a default value (used if not found)
- getParamAsDouble(HttpServletRequest, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a double
Throws an exception if not found
- getParamAsDouble(HttpServletRequest, String, Double) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a double
With a default value (used if not found)
- getParamAsFloat(HttpServletRequest, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a float
Throws an exception if not found
- getParamAsFloat(HttpServletRequest, String, Float) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a float
With a default value (used if not found)
- getParamAsInt(HttpServletRequest, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as an integer
Throws an exception if not found
- getParamAsInt(HttpServletRequest, String, Integer) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as an integer
With a default value (used if not found)
- getParamAsString(HttpServletRequest, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a String
Throws an exception if not found
- getParamAsString(HttpServletRequest, String, String) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns the parameter's value as a String
With a default value (used if not found)
- getParametersMap(HttpServletRequest) - Method in class org.nanoj.web.tinymvc.GenericAction
-
Returns a Map built from the Http request parameters
- getRequestURI() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the current action request URI
same as HttpServletRequest.getRequestURI()
e.g. : '/mywebapp/aaa/bbb/myaction'
- getRequestURL() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
Returns the current action request URL
same as HttpServletRequest.getRequestURL()
e.g. : 'http://myhost:8080/mywebapp/aaa/bbb/myaction'
- getValue() - Method in class org.nanoj.web.tinymvc.env.InputParameter
-
- getViewLayoutName() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewLayoutPath() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewName() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewName() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the view name ( page name or layout name if any )
e.g. : "mypage" or "mylayout"
- getViewPageName() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewPagePath() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewPath() - Method in class org.nanoj.web.tinymvc.env.ActionInfo
-
- getViewPath() - Method in class org.nanoj.web.tinymvc.env.ActionView
-
Returns the view path ( page path or layout path if any )
e.g. : "/WEB-INF/views/mypage.jsp" or "/WEB-INF/layouts/mylayout.jsp"
- getViewsFolder() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getViewsSuffix() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getViewsType() - Method in class org.nanoj.web.tinymvc.config.Configuration
-
- getViewTemplateResolver(Configuration) - Static method in class org.nanoj.web.tinymvc.processor.ThymeleafUtil
-