Package org.apache.struts2.interceptor

# Interface PreResultListener

All Known Implementing Classes:
  `AnnotationWorkflowInterceptor`, `CoepInterceptor`, `CookieProviderInterceptor`, `CoopInterceptor`, `MessageStorePreResultListener`, `ModelDrivenInterceptor.RefreshModelBeforeResult`, `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

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

- ## Method Details

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