public abstract class AbstractSelectAction extends ActionCommandBase
Cache the ActionConfig
instance for the action to be used
for processing this request.
Constructor and Description |
---|
AbstractSelectAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ActionContext actionCtx)
Cache the
ActionConfig instance for the action to be
used for processing this request. |
protected abstract String |
getPath(ActionContext context)
Return the path to be used to select the
ActionConfig
for this request. |
execute
public boolean execute(ActionContext actionCtx) throws Exception
Cache the ActionConfig
instance for the action to be
used for processing this request.
execute
in interface ActionCommand
execute
in class ActionCommandBase
actionCtx
- The Context
for the current requestfalse
so that processing continuesInvalidPathException
- if no valid action can be identified for
this requestException
- if thrown by the Action classprotected abstract String getPath(ActionContext context)
Return the path to be used to select the ActionConfig
for this request.
context
- The Context
for this requestCopyright © 2000–2017 Apache Software Foundation. All rights reserved.