Class HawtioQuarkusPathFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class HawtioQuarkusPathFilter
    extends java.lang.Object
    implements javax.servlet.Filter
    Forwards all React router route URLs to index.html.

    Ignores jolokia paths and other Hawtio resources.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFilter​(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.Filter

        destroy, init
    • Constructor Detail

      • HawtioQuarkusPathFilter

        public HawtioQuarkusPathFilter()
    • Method Detail

      • doFilter

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