Class PortalFilterWrapper

    • Constructor Detail

      • PortalFilterWrapper

        public PortalFilterWrapper​(Class<? extends javax.servlet.Filter> wrappedClass,
                                   javax.servlet.annotation.WebFilter annotation)
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException
      • 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
      • getAnnotation

        public javax.servlet.annotation.WebFilter getAnnotation()
        Returns:
        the annotation
      • getUrlMappings

        public String[] getUrlMappings()
      • getWrapped

        public javax.servlet.Filter getWrapped()
      • getName

        public String getName()
        Returns:
        The name of this filter, either from the annotation or the class name, if no name was set in the annotation.
      • destroy

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

        public int hashCode()
        Overrides:
        hashCode in class Object