public abstract class ActionDescProvider
extends com.appslandia.common.base.InitializeObject
| Constructor and Description |
|---|
ActionDescProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addControllerClass(Class<?> controllerClass) |
static String |
getAction(Method actionMethod) |
ActionDesc |
getActionDesc(String controller,
String action) |
Map<ActionRoute,ActionDesc> |
getActionDescMap() |
ActionDesc |
getBasicLogin() |
static String |
getController(Class<?> clazz) |
String |
getDefaultController() |
ActionDesc |
getFormLogin() |
static int |
getPathParamCount(List<PathParam> pathParams) |
protected void |
init() |
static List<String> |
parseAllowMethods(Method method,
com.appslandia.common.base.Out<Boolean> httpMethod) |
static List<ParamDesc> |
parseParamDescs(Method actionMethod,
List<PathParam> pathParams) |
static List<PathParam> |
parsePathParams(String value) |
static List<PathParam> |
parseSubParams(String value) |
@Inject protected AppConfig appConfig
protected void init()
throws Exception
init in class com.appslandia.common.base.InitializeObjectExceptionpublic Map<ActionRoute,ActionDesc> getActionDescMap()
public ActionDesc getActionDesc(String controller, String action)
public String getDefaultController()
public ActionDesc getFormLogin()
public ActionDesc getBasicLogin()
protected void addControllerClass(Class<?> controllerClass)
public static List<ParamDesc> parseParamDescs(Method actionMethod, List<PathParam> pathParams)
public static List<String> parseAllowMethods(Method method, com.appslandia.common.base.Out<Boolean> httpMethod)
Copyright © 2018. All rights reserved.