Uses of Interface
org.apache.struts2.result.Result
Packages that use Result
Package
Description
Main XWork interfaces and classes.
Classes for Struts configuration and property handling.
XWork specific mock classes.
-
Uses of Result in org.apache.struts2
Fields in org.apache.struts2 declared as ResultModifier and TypeFieldDescriptionprotected Result
DefaultActionInvocation.explicitResult
protected Result
DefaultActionInvocation.result
Methods in org.apache.struts2 that return ResultModifier and TypeMethodDescriptionObjectFactory.buildResult
(ResultConfig resultConfig, Map<String, Object> extraContext) Build a Result using the type in the ResultConfig and set the parameters in the ResultConfig.DefaultActionInvocation.createResult()
ActionInvocation.getResult()
If the ActionInvocation has been executed before and the Result is an instance ofActionChainResult
, this method will walk down the chain ofActionChainResult
s until it finds a non-chain result, which will be returned.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.DefaultUnknownHandlerManager.handleUnknownResult
(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) Iterate over UnknownHandlers and return the result of the first one that can handle itUnknownHandler.handleUnknownResult
(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) Handles the case when a result cannot be found for an action and result code.UnknownHandlerManager.handleUnknownResult
(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) -
Uses of Result in org.apache.struts2.config
Classes in org.apache.struts2.config that implement ResultModifier and TypeClassDescriptionclass
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? -
Uses of Result in org.apache.struts2.dispatcher.mapper
Methods in org.apache.struts2.dispatcher.mapper that return ResultMethods in org.apache.struts2.dispatcher.mapper with parameters of type ResultConstructors in org.apache.struts2.dispatcher.mapper with parameters of type ResultModifierConstructorDescriptionActionMapping
(Result result) Constructs an ActionMapping with a default result -
Uses of Result in org.apache.struts2.factory
Methods in org.apache.struts2.factory that return ResultModifier and TypeMethodDescriptionResultFactory.buildResult
(ResultConfig resultConfig, Map<String, Object> extraContext) StrutsResultFactory.buildResult
(ResultConfig resultConfig, Map<String, Object> extraContext) Methods in org.apache.struts2.factory with parameters of type Result -
Uses of Result in org.apache.struts2.mock
Classes in org.apache.struts2.mock that implement ResultMethods in org.apache.struts2.mock that return ResultMethods in org.apache.struts2.mock with parameters of type Result -
Uses of Result in org.apache.struts2.result
Subinterfaces of Result in org.apache.struts2.resultModifier and TypeInterfaceDescriptioninterface
This result can only be used in code, as a result of action's method, eg.:Classes in org.apache.struts2.result that implement ResultModifier and TypeClassDescriptionclass
This result invokes an entire other action, complete with it's own interceptor stack and result.class
class
A result that send the content out as plain text.class
class
class
class
Calls thesendRedirect
method to the location specified.class
A custom Result type for sending raw data (via an InputStream) directly to the HttpServletResponse.class
-
Uses of Result in org.apache.struts2.views.freemarker
Classes in org.apache.struts2.views.freemarker that implement ResultModifier and TypeClassDescriptionclass
Renders a view using the Freemarker template engine.