Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.factory | |
com.opensymphony.xwork2.mock |
XWork specific mock classes.
|
org.apache.struts2.dispatcher.mapper | |
org.apache.struts2.factory | |
org.apache.struts2.result |
Modifier and Type | Field and Description |
---|---|
protected Result |
DefaultActionInvocation.explicitResult |
protected Result |
DefaultActionInvocation.result |
Modifier and Type | Method and Description |
---|---|
static Result |
Result.adapt(Result actualResult)
Deprecated.
|
Result |
ObjectFactory.buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext)
Build a Result using the type in the ResultConfig and set the parameters in the ResultConfig.
|
Result |
DefaultActionInvocation.createResult() |
Result |
DefaultActionInvocation.getResult()
If the DefaultActionInvocation has been executed before and the Result is an instance of ActionChainResult, this method
will walk down the chain of ActionChainResults until it finds a non-chain result, which will be returned.
|
Result |
ActionInvocation.getResult()
Deprecated.
|
Result |
ActionInvocation.LegacyAdapter.getResult() |
Result |
UnknownHandlerManager.handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode) |
Result |
DefaultUnknownHandlerManager.handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode)
Iterate over UnknownHandlers and return the result of the first one that can handle it
|
Result |
UnknownHandler.handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode)
Handles the case when a result cannot be found for an action and result code.
|
Modifier and Type | Method and Description |
---|---|
Result |
DefaultResultFactory.buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext)
Deprecated.
|
Result |
ResultFactory.buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext) |
Modifier and Type | Method and Description |
---|---|
Result |
MockActionInvocation.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
MockActionInvocation.setResult(Result result) |
Modifier and Type | Method and Description |
---|---|
Result |
ActionMapping.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
ActionMapping.setResult(Result result) |
Constructor and Description |
---|
ActionMapping(Result result)
Constructs an ActionMapping with a default result
|
Modifier and Type | Method and Description |
---|---|
Result |
StrutsResultFactory.buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
StrutsResultFactory.setParameter(Result result,
String name,
String value,
Map<String,Object> extraContext) |
protected void |
StrutsResultFactory.setParameters(Map<String,Object> extraContext,
Result result,
Map<String,String> params) |
Modifier and Type | Interface and Description |
---|---|
interface |
PlainResult
This result can only be used in code, as a result of action's method, eg.:
|
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.