Class MkvRequestFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class MkvRequestFilter
    extends java.lang.Object
    implements javax.servlet.Filter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void doFilter​(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
      Filter that allow the developer to see the mkv scripts on the resources window on a hierarchical structure.
      void init​(javax.servlet.FilterConfig fc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MkvRequestFilter

        public MkvRequestFilter()
    • Method Detail

      • destroy

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

        public void doFilter​(javax.servlet.ServletRequest req,
                             javax.servlet.ServletResponse res,
                             javax.servlet.FilterChain chain)
                      throws java.io.IOException,
                             javax.servlet.ServletException
        Filter that allow the developer to see the mkv scripts on the resources window on a hierarchical structure. Read all the requests to /mkv/* and transform the slash separated path to a dot separated path and feed it to the mkitMarkup servlet as the fqcn parameter "/servlet/mkitMarkup?fqcn=" + fqp;
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • init

        public void init​(javax.servlet.FilterConfig fc)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException