Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.interceptor |
Interceptor classes.
|
com.opensymphony.xwork2.interceptor.annotations |
Interceptor annotations.
|
com.opensymphony.xwork2.mock |
XWork specific mock classes.
|
com.opensymphony.xwork2.spring.interceptor |
Spring specific interceptor classes.
|
com.opensymphony.xwork2.validator |
XWork validation subsystem.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultActionInvocation
The Default ActionInvocation implementation
|
Modifier and Type | Field and Description |
---|---|
protected ActionInvocation |
DefaultActionProxy.invocation |
Modifier and Type | Method and Description |
---|---|
ActionInvocation |
DefaultActionInvocation.deserialize(ActionContext actionContext)
Restoring Container
|
ActionInvocation |
ActionInvocation.deserialize(ActionContext actionContext)
Performs opposite process to restore back ActionInvocation after deserialisation
|
ActionInvocation |
ActionContext.getActionInvocation()
Gets the action invocation (the execution state).
|
ActionInvocation |
DefaultActionProxy.getInvocation() |
ActionInvocation |
ActionProxy.getInvocation()
Gets the ActionInvocation associated with this ActionProxy.
|
ActionInvocation |
DefaultActionInvocation.serialize()
Version ready to be serialize
|
ActionInvocation |
ActionInvocation.serialize()
Prepares instance of ActionInvocation to be serializable,
which simple means removing all unserializable fields, eg.
|
Modifier and Type | Method and Description |
---|---|
ActionProxy |
DefaultActionProxyFactory.createActionProxy(ActionInvocation inv,
String namespace,
String actionName,
boolean executeResult,
boolean cleanupContext) |
ActionProxy |
DefaultActionProxyFactory.createActionProxy(ActionInvocation inv,
String namespace,
String actionName,
String methodName,
boolean executeResult,
boolean cleanupContext) |
ActionProxy |
ActionProxyFactory.createActionProxy(ActionInvocation actionInvocation,
String namespace,
String actionName,
String methodName,
boolean executeResult,
boolean cleanupContext)
Creates an
ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including passed ActionInvocation instance. |
void |
Result.execute(ActionInvocation invocation)
Represents a generic interface for all action execution results.
|
void |
ActionChainResult.execute(ActionInvocation invocation) |
void |
ActionContext.setActionInvocation(ActionInvocation actionInvocation)
Sets the action invocation (the execution state).
|
Constructor and Description |
---|
DefaultActionProxy(ActionInvocation inv,
String namespace,
String actionName,
String methodName,
boolean executeResult,
boolean cleanupContext)
This constructor is private so the builder methods (create*) should be used to create an DefaultActionProxy.
|
Modifier and Type | Field and Description |
---|---|
protected ActionInvocation |
I18nInterceptor.LocaleFinder.actionInvocation |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MethodFilterInterceptor.applyInterceptor(ActionInvocation invocation) |
void |
PreResultListener.beforeResult(ActionInvocation invocation,
String resultCode)
|
void |
ModelDrivenInterceptor.RefreshModelBeforeResult.beforeResult(ActionInvocation invocation,
String resultCode) |
String |
PrepareInterceptor.doIntercept(ActionInvocation invocation) |
String |
ParametersInterceptor.doIntercept(ActionInvocation invocation) |
protected abstract String |
MethodFilterInterceptor.doIntercept(ActionInvocation invocation)
Subclasses must override to implement the interceptor logic.
|
protected String |
DefaultWorkflowInterceptor.doIntercept(ActionInvocation invocation)
Intercept
ActionInvocation and returns a inputResultName
when action / field errors is found registered. |
protected Object |
ConversionErrorInterceptor.getOverrideExpr(ActionInvocation invocation,
Object value) |
String |
TimerInterceptor.intercept(ActionInvocation invocation) |
String |
StaticParametersInterceptor.intercept(ActionInvocation invocation) |
String |
ScopedModelDrivenInterceptor.intercept(ActionInvocation invocation) |
String |
ParameterRemoverInterceptor.intercept(ActionInvocation invocation)
Decide if the parameter should be removed from the parameter map based on
paramNames and paramValues . |
String |
ParameterFilterInterceptor.intercept(ActionInvocation invocation) |
String |
ModelDrivenInterceptor.intercept(ActionInvocation invocation) |
String |
MethodFilterInterceptor.intercept(ActionInvocation invocation) |
String |
LoggingInterceptor.intercept(ActionInvocation invocation) |
String |
Interceptor.intercept(ActionInvocation invocation)
Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
request by the
ActionInvocation or to short-circuit the processing and just return a String return code. |
String |
I18nInterceptor.intercept(ActionInvocation invocation) |
String |
ExceptionMappingInterceptor.intercept(ActionInvocation invocation) |
String |
ConversionErrorInterceptor.intercept(ActionInvocation invocation) |
String |
ChainingInterceptor.intercept(ActionInvocation invocation) |
String |
AliasInterceptor.intercept(ActionInvocation invocation) |
abstract String |
AbstractInterceptor.intercept(ActionInvocation invocation)
Override to handle interception
|
static void |
PrefixMethodInvocationUtil.invokePrefixMethod(ActionInvocation actionInvocation,
String[] prefixes)
This method will prefix
actionInvocation 's ActionProxy 's
method with prefixes before invoking the prefixed method. |
protected String |
TimerInterceptor.invokeUnderTiming(ActionInvocation invocation)
Is called to invoke the action invocation and time the execution time.
|
protected void |
ExceptionMappingInterceptor.publishException(ActionInvocation invocation,
ExceptionHolder exceptionHolder)
Default implementation to handle ExceptionHolder publishing.
|
protected Locale |
I18nInterceptor.readStoredLocale(ActionInvocation invocation,
Map<String,Object> session)
Reads the locale from the session, and if not found from the
current invocation (=browser)
|
protected Locale |
I18nInterceptor.readStoredLocalFromCurrentInvocation(ActionInvocation invocation) |
protected Locale |
I18nInterceptor.readStoredLocalFromSession(ActionInvocation invocation,
Map<String,Object> session) |
protected void |
I18nInterceptor.saveLocale(ActionInvocation invocation,
Locale locale)
Save the given locale to the ActionInvocation.
|
protected Locale |
I18nInterceptor.storeLocale(ActionInvocation invocation,
Locale locale,
String storage)
Store the locale to the chosen storage, like f.
|
Constructor and Description |
---|
I18nInterceptor.LocaleFinder(ActionInvocation invocation) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationWorkflowInterceptor.beforeResult(ActionInvocation invocation,
String resultCode)
Invokes any @BeforeResult annotated methods
|
String |
AnnotationWorkflowInterceptor.intercept(ActionInvocation invocation)
Discovers annotated methods on the action and calls them according to the workflow
|
String |
AnnotationParameterFilterIntereptor.intercept(ActionInvocation invocation) |
Modifier and Type | Class and Description |
---|---|
class |
MockActionInvocation
Mock for an
ActionInvocation . |
Modifier and Type | Method and Description |
---|---|
ActionInvocation |
MockActionInvocation.deserialize(ActionContext actionContext) |
ActionInvocation |
MockActionProxy.getInvocation() |
ActionInvocation |
MockActionInvocation.serialize() |
Modifier and Type | Method and Description |
---|---|
void |
MockResult.execute(ActionInvocation invocation) |
String |
MockInterceptor.intercept(ActionInvocation invocation)
Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
request by the DefaultActionInvocation or to short-circuit the processing and just return a String return code.
|
void |
MockActionProxy.setInvocation(ActionInvocation invocation) |
Modifier and Type | Method and Description |
---|---|
String |
ActionAutowiringInterceptor.intercept(ActionInvocation invocation)
Looks for the
ApplicationContext under the attribute that the Spring listener sets in
the servlet context. |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationInterceptor.doBeforeInvocation(ActionInvocation invocation)
Gets the current action and its context and delegates to
ActionValidatorManager proper validate method. |
protected String |
ValidationInterceptor.doIntercept(ActionInvocation invocation) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.