com.opensymphony.xwork2.interceptor

## Interface PreResultListener

- All Superinterfaces:
    PreResultListener

  Deprecated.
  since 6.7.0, use `PreResultListener` instead.

      @Deprecated
      public interface PreResultListener
      extends PreResultListener

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `PreResultListener.LegacyAdapter` Deprecated.

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PreResultListener` | `adapt(PreResultListener actualListener)` Deprecated.
    `default void` | `beforeResult(ActionInvocation invocation, String resultCode)` Deprecated. This callback method will be called after the `Action` execution and before the `Result` execution.
    `void` | `beforeResult(ActionInvocation invocation, String resultCode)` Deprecated.

- - ### Method Detail

    - #### beforeResult

          default void beforeResult(ActionInvocation invocation,
                                    String resultCode)

      Deprecated.
      Description copied from interface: `PreResultListener`
      This callback method will be called after the `Action` execution and before the `Result` execution.
      Specified by:
        `beforeResult` in interface `PreResultListener`
      Parameters:
        `invocation` - the action invocation
        `resultCode` - the result code returned by the action (eg. `success`).

    - #### beforeResult

          void beforeResult(ActionInvocation invocation,
                            String resultCode)

      Deprecated.

    - #### adapt

          static PreResultListener adapt(PreResultListener actualListener)

      Deprecated.

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