public class RestActionNamingStrategy extends BaseNamingStrategy
Modifier and Type | Field and Description |
---|---|
protected ActionsManager |
actionsManager |
protected boolean |
includeMethodActionPath |
CLASS_MACRO, HTTPMETHOD_MACRO, METHOD_MACRO, PACKAGE_MACRO
Constructor and Description |
---|
RestActionNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
ActionDefinition |
buildActionDef(java.lang.Class actionClass,
java.lang.reflect.Method actionMethod,
ActionNames actionNames)
Builds
ActionDefinition . |
protected java.lang.String |
resolveHttpMethodFromMethodName(java.lang.String methodName)
Resolves HTTP method name from method name.
|
createActionDef, isAbsolutePath, replaceActionNameMacros
@In @MadvocContext protected ActionsManager actionsManager
protected boolean includeMethodActionPath
public ActionDefinition buildActionDef(java.lang.Class actionClass, java.lang.reflect.Method actionMethod, ActionNames actionNames)
ActionNamingStrategy
ActionDefinition
.actionClass
- action classactionMethod
- action methodactionNames
- action namesprotected java.lang.String resolveHttpMethodFromMethodName(java.lang.String methodName)
Copyright © 2003-present Jodd Team