Class MessageLoadingPreResultListener

java.lang.Object
com.atlassian.confluence.validation.MessageLoadingPreResultListener
All Implemented Interfaces:
org.apache.struts2.interceptor.PreResultListener

public class MessageLoadingPreResultListener extends Object implements org.apache.struts2.interceptor.PreResultListener
Loads MessageHolder messages into a ConfluenceActionSupport instance after Action execution but before Result execution.

See DefaultActionInvocation for how this works.

Since:
4.2.4
  • Method Details

    • getInstance

      public static org.apache.struts2.interceptor.PreResultListener getInstance()
    • beforeResult

      public void beforeResult(org.apache.struts2.ActionInvocation invocation, String resultCode)
      Specified by:
      beforeResult in interface org.apache.struts2.interceptor.PreResultListener