public static class ActionProxy.LegacyAdapter extends Object implements ActionProxy
ActionProxy.LegacyAdapter| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Execute this ActionProxy.
|
Object |
getAction()
Gets the Action instance for this Proxy.
|
String |
getActionName()
Gets the alias name this ActionProxy is mapped to.
|
ActionConfig |
getConfig()
Gets the ActionConfig this ActionProxy is built from.
|
boolean |
getExecuteResult()
Gets the status of whether the ActionProxy is set to execute the Result after the Action is executed.
|
ActionInvocation |
getInvocation() |
String |
getMethod()
Gets the method name to execute, or null if no method has been specified (meaning
execute will be invoked). |
String |
getNamespace()
Gets the namespace the ActionConfig for this ActionProxy is mapped to.
|
boolean |
isMethodSpecified()
Gets status of the method value's initialization.
|
void |
setExecuteResult(boolean executeResult)
Sets whether this ActionProxy should also execute the Result after executing the Action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptpublic Object getAction()
ActionProxygetAction in interface ActionProxypublic String getActionName()
ActionProxygetActionName in interface ActionProxypublic ActionConfig getConfig()
ActionProxygetConfig in interface ActionProxypublic void setExecuteResult(boolean executeResult)
ActionProxysetExecuteResult in interface ActionProxyexecuteResult - true to also execute the Result.public boolean getExecuteResult()
ActionProxygetExecuteResult in interface ActionProxypublic ActionInvocation getInvocation()
getInvocation in interface ActionProxypublic String getNamespace()
ActionProxygetNamespace in interface ActionProxypublic String execute() throws Exception
ActionProxyexecute in interface ActionProxyException - can be thrown.ActionInvocationpublic String getMethod()
ActionProxyexecute will be invoked).getMethod in interface ActionProxypublic boolean isMethodSpecified()
ActionProxytrue when the method was explicitly provided
(e.g. via URL parameter, wildcard substitution, or action configuration), and false only when the
framework defaults to "execute" because no method was specified anywhere.isMethodSpecified in interface ActionProxyCopyright © 2000–2026 Apache Software Foundation. All rights reserved.