Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.interceptor |
Interceptor classes.
|
com.opensymphony.xwork2.mock |
XWork specific mock classes.
|
org.apache.struts2 | |
org.apache.struts2.interceptor | |
org.apache.struts2.result |
Modifier and Type | Interface and Description |
---|---|
interface |
ActionInvocation
Deprecated.
since 6.7.0, use
ActionInvocation instead. |
Modifier and Type | Class and Description |
---|---|
static class |
ActionInvocation.LegacyAdapter
Deprecated.
|
class |
DefaultActionInvocation
The Default ActionInvocation implementation
|
Modifier and Type | Method and Description |
---|---|
static ActionInvocation |
ActionInvocation.adapt(ActionInvocation actualInvocation)
Deprecated.
|
default void |
Result.execute(ActionInvocation invocation)
Deprecated.
|
ActionContext |
ActionContext.withActionInvocation(ActionInvocation actionInvocation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default void |
PreResultListener.beforeResult(ActionInvocation invocation,
String resultCode)
Deprecated.
|
default String |
Interceptor.intercept(ActionInvocation invocation)
Deprecated.
|
String |
AbstractInterceptor.intercept(ActionInvocation invocation)
Deprecated.
|
static void |
PrefixMethodInvocationUtil.invokePrefixMethod(ActionInvocation actionInvocation,
String[] prefixes) |
default boolean |
ConditionalInterceptor.shouldIntercept(ActionInvocation invocation)
Deprecated.
|
boolean |
AbstractInterceptor.shouldIntercept(ActionInvocation invocation)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
MockActionInvocation
Mock for an
ActionInvocation . |
Modifier and Type | Method and Description |
---|---|
ActionInvocation |
ActionContext.getActionInvocation()
Gets the action invocation (the execution state).
|
ActionInvocation |
ActionProxy.getInvocation() |
Modifier and Type | Method and Description |
---|---|
ActionContext |
ActionContext.withActionInvocation(ActionInvocation actionInvocation)
Sets the action invocation (the execution state).
|
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) |
protected String |
DefaultWorkflowInterceptor.doIntercept(ActionInvocation invocation)
Intercept
ActionInvocation and returns a inputResultName
when action / field errors is found registered. |
protected abstract String |
MethodFilterInterceptor.doIntercept(ActionInvocation invocation)
Subclasses must override to implement the interceptor logic.
|
String |
ConversionErrorInterceptor.doIntercept(ActionInvocation invocation) |
protected Object |
ConversionErrorInterceptor.getOverrideExpr(ActionInvocation invocation,
Object value) |
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 |
LoggingInterceptor.intercept(ActionInvocation invocation) |
String |
MethodFilterInterceptor.intercept(ActionInvocation invocation) |
String |
ModelDrivenInterceptor.intercept(ActionInvocation invocation) |
String |
StaticParametersInterceptor.intercept(ActionInvocation invocation) |
abstract String |
AbstractInterceptor.intercept(ActionInvocation invocation)
Override to handle interception
|
String |
ParameterRemoverInterceptor.intercept(ActionInvocation invocation)
Decide if the parameter should be removed from the parameter map based on
paramNames and paramValues . |
String |
ChainingInterceptor.intercept(ActionInvocation invocation) |
String |
ExceptionMappingInterceptor.intercept(ActionInvocation invocation) |
String |
AliasInterceptor.intercept(ActionInvocation invocation) |
String |
ScopedModelDrivenInterceptor.intercept(ActionInvocation invocation) |
protected void |
ExceptionMappingInterceptor.publishException(ActionInvocation invocation,
ExceptionHolder exceptionHolder)
Default implementation to handle ExceptionHolder publishing.
|
boolean |
ConditionalInterceptor.shouldIntercept(ActionInvocation invocation)
Determines if a given interceptor should be executed in the current processing of action invocation.
|
boolean |
AbstractInterceptor.shouldIntercept(ActionInvocation invocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
StrutsResultSupport.doExecute(String finalLocation,
ActionInvocation invocation)
Executes the result given a final location (jsp page, action, etc) and the action invocation
(the state in which the action was executed).
|
void |
Result.execute(ActionInvocation invocation)
Represents a generic interface for all action execution results.
|
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.