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.config |
Classes for Struts configuration and property handling.
|
org.apache.struts2.dispatcher.mapper | |
org.apache.struts2.factory | |
org.apache.struts2.result | |
org.apache.struts2.views.freemarker | |
org.apache.struts2.views.xslt |
The new xslt view supports an extensible Java XML adapter framework that makes
it easy to customize the XML rendering of objects and to incorporate structured
XML text and arbitarary DOM fragments into the output.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionChainResult
This result invokes an entire other action, complete with it's own interceptor stack and result.
|
Modifier and Type | Field and Description |
---|---|
protected Result |
DefaultActionInvocation.explicitResult |
protected Result |
DefaultActionInvocation.result |
Modifier and Type | Method and Description |
---|---|
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()
If the ActionInvocation has been executed before and the Result is an instance of
ActionChainResult , this method
will walk down the chain of ActionChainResult s until it finds a non-chain result, which will be returned. |
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) |
Result |
ResultFactory.buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext) |
Modifier and Type | Class and Description |
---|---|
class |
MockResult
Mock for a
Result . |
Modifier and Type | Method and Description |
---|---|
Result |
MockActionInvocation.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
MockActionInvocation.setResult(Result result) |
Modifier and Type | Class and Description |
---|---|
class |
NullResult
Null result to get around annotation defaults that can't be null
FIXME: ???? is it usable? doesn't it make sense to have such 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 | Class and Description |
---|---|
class |
HttpHeaderResult |
class |
PlainTextResult
A result that send the content out as plain text.
|
class |
PostbackResult |
class |
ServletActionRedirectResult |
class |
ServletDispatcherResult |
class |
ServletRedirectResult |
class |
StreamResult |
class |
StrutsResultSupport |
Modifier and Type | Class and Description |
---|---|
class |
FreemarkerResult
Renders a view using the Freemarker template engine.
|
Modifier and Type | Class and Description |
---|---|
class |
XSLTResult
XSLTResult uses XSLT to transform an action object to XML.
|
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.