Class SilverpeasExceptionLoggingFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class SilverpeasExceptionLoggingFilter
    extends Object
    implements javax.servlet.Filter
    A filter to handle all the exception thrown from the Silverpeas application.
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • SilverpeasExceptionLoggingFilter

        public SilverpeasExceptionLoggingFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        IOException
        javax.servlet.ServletException
      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
        Specified by:
        init in interface javax.servlet.Filter
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter