org.apache.struts2.interceptor

## Interface PreResultListener

- All Known Subinterfaces:
    PreResultListener
  All Known Implementing Classes:
    AnnotationWorkflowInterceptor, CoepInterceptor, CookieProviderInterceptor, CoopInterceptor, MessageStorePreResultListener, ModelDrivenInterceptor.RefreshModelBeforeResult, ModelDrivenInterceptor.RefreshModelBeforeResult, PreResultListener.LegacyAdapter, ScopeInterceptor

      public interface PreResultListener

  PreResultListeners may be registered with an `ActionInvocation` to get a callback after the `Action` has been executed but before the `Result` is executed.
  Author:
    Jason Carreira

- - ### Method Summary

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

- - ### Method Detail

    - #### beforeResult

          void beforeResult(ActionInvocation invocation,
                            String resultCode)

      This callback method will be called after the `Action` execution and before the `Result` execution.
      Parameters:
        `invocation` - the action invocation
        `resultCode` - the result code returned by the action (eg. `success`).

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