Class SecurityHeadersInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class SecurityHeadersInterceptor
    extends Object
    implements com.opensymphony.xwork2.interceptor.Interceptor
    Add headers to prevent security problems.
    Since:
    5.8.15
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityHeadersInterceptor

        public SecurityHeadersInterceptor()
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface com.opensymphony.xwork2.interceptor.Interceptor
      • init

        public void init()
        Specified by:
        init in interface com.opensymphony.xwork2.interceptor.Interceptor
      • intercept

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