## Uses of Interface
com.opensymphony.xwork2.Result

- Packages that use Result
  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.

- - ### Uses of Result in com.opensymphony.xwork2

    Classes in com.opensymphony.xwork2 that implement Result
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActionChainResult` This result invokes an entire other action, complete with it's own interceptor stack and result.

    Fields in com.opensymphony.xwork2 declared as Result
    Modifier and Type | Field and Description
    --- | ---
    `protected Result` | DefaultActionInvocation.`explicitResult`
    `protected Result` | DefaultActionInvocation.`result`

    Methods in com.opensymphony.xwork2 that return 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.

  - ### Uses of Result in com.opensymphony.xwork2.factory

    Methods in com.opensymphony.xwork2.factory that return Result
    Modifier and Type | Method and Description
    --- | ---
    `Result` | DefaultResultFactory.`buildResult(ResultConfig resultConfig, Map<String,Object> extraContext)`
    `Result` | ResultFactory.`buildResult(ResultConfig resultConfig, Map<String,Object> extraContext)`

  - ### Uses of Result in com.opensymphony.xwork2.mock

    Classes in com.opensymphony.xwork2.mock that implement Result
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MockResult` Mock for a `Result`.

    Methods in com.opensymphony.xwork2.mock that return Result
    Modifier and Type | Method and Description
    --- | ---
    `Result` | MockActionInvocation.`getResult()`

    Methods in com.opensymphony.xwork2.mock with parameters of type Result
    Modifier and Type | Method and Description
    --- | ---
    `void` | MockActionInvocation.`setResult(Result result)`

  - ### Uses of Result in org.apache.struts2.config

    Classes in org.apache.struts2.config that implement 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?

  - ### Uses of Result in org.apache.struts2.dispatcher.mapper

    Methods in org.apache.struts2.dispatcher.mapper that return Result
    Modifier and Type | Method and Description
    --- | ---
    `Result` | ActionMapping.`getResult()`

    Methods in org.apache.struts2.dispatcher.mapper with parameters of type Result
    Modifier and Type | Method and Description
    --- | ---
    `void` | ActionMapping.`setResult(Result result)`

    Constructors in org.apache.struts2.dispatcher.mapper with parameters of type Result
    Constructor and Description
    `ActionMapping(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 Result
    Modifier and Type | Method and Description
    --- | ---
    `Result` | StrutsResultFactory.`buildResult(ResultConfig resultConfig, Map<String,Object> extraContext)`

    Methods in org.apache.struts2.factory with parameters of type Result
    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)`

  - ### Uses of Result in org.apache.struts2.result

    Classes in org.apache.struts2.result that implement Result
    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`
    `class` | `VelocityResult` Using the Servlet container's `JspFactory`, this result mocks a JSP execution environment and then displays a Velocity template that will be streamed directly to the servlet output.

  - ### Uses of Result in org.apache.struts2.views.freemarker

    Classes in org.apache.struts2.views.freemarker that implement Result
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FreemarkerResult` Renders a view using the Freemarker template engine.

  - ### Uses of Result in org.apache.struts2.views.xslt

    Classes in org.apache.struts2.views.xslt that implement Result
    Modifier and Type | Class and Description
    --- | ---
    `class` | `XSLTResult` XSLTResult uses XSLT to transform an action object to XML.

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.