## 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.dispatcher.mapper |
  org.apache.struts2.factory |
  org.apache.struts2.result |

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

    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
    --- | ---
    `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.

  - ### 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)` Deprecated.
    `Result` | ResultFactory.`buildResult(ResultConfig resultConfig, Map<String,Object> extraContext)`

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

    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.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

    Subinterfaces of Result in org.apache.struts2.result
    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–2025 Apache Software Foundation. All rights reserved.