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

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

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

    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` Calls the `sendRedirect` method to the location specified.
    `class` | `StreamResult` A custom Result type for sending raw data (via an InputStream) directly to the HttpServletResponse.
    `class` | `StrutsResultSupport`

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

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