Class HttpRequestStatsInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.ConditionalInterceptor, com.opensymphony.xwork2.interceptor.Interceptor, Serializable, org.apache.struts2.interceptor.ConditionalInterceptor, org.apache.struts2.interceptor.Interceptor

    public class HttpRequestStatsInterceptor
    extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
    Interceptor that, when applicable, adds a key that matches the keys used in confluence-browser-metrics projects to http request stats.
    Since:
    5.9.0
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.ConditionalInterceptor

        com.opensymphony.xwork2.interceptor.ConditionalInterceptor.LegacyAdapter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String intercept​(com.opensymphony.xwork2.ActionInvocation invocation)  
      • Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor

        intercept, shouldIntercept, shouldIntercept
      • Methods inherited from class org.apache.struts2.interceptor.AbstractInterceptor

        destroy, init, setDisabled
      • Methods inherited from interface org.apache.struts2.interceptor.Interceptor

        destroy, init
    • Constructor Detail

      • HttpRequestStatsInterceptor

        public HttpRequestStatsInterceptor()
    • Method Detail

      • intercept

        public String intercept​(com.opensymphony.xwork2.ActionInvocation invocation)
                         throws Exception
        Specified by:
        intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
        Specified by:
        intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
        Throws:
        Exception