public abstract class BaseNamingStrategy extends java.lang.Object implements ActionNamingStrategy
ActionNamingStrategy
implementations.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLASS_MACRO |
protected static java.lang.String |
HTTPMETHOD_MACRO |
protected static java.lang.String |
METHOD_MACRO |
protected static java.lang.String |
PACKAGE_MACRO |
Constructor and Description |
---|
BaseNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected ActionDefinition |
createActionDef(java.lang.String path,
java.lang.String httpMethod,
java.lang.String resultBasePath,
ActionNames actionNames)
Single point of
ActionDefinition creation. |
protected boolean |
isAbsolutePath(java.lang.String path)
Returns
true if path is absolute. |
protected java.lang.String |
replaceActionNameMacros(java.lang.String path,
ActionNames actionNames)
Replaces action path macros in the path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildActionDef
protected static final java.lang.String PACKAGE_MACRO
protected static final java.lang.String CLASS_MACRO
protected static final java.lang.String METHOD_MACRO
protected static final java.lang.String HTTPMETHOD_MACRO
protected java.lang.String replaceActionNameMacros(java.lang.String path, ActionNames actionNames)
null
it will not be replaced - so to emphasize the problem.protected ActionDefinition createActionDef(java.lang.String path, java.lang.String httpMethod, java.lang.String resultBasePath, ActionNames actionNames)
ActionDefinition
creation.
Also performs the replacement of action path macros!protected boolean isAbsolutePath(java.lang.String path)
true
if path is absolute.Copyright © 2003-present Jodd Team