Interface FilterChain


  • public interface FilterChain
    Filters use the FilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.
    Since:
    9.16
    See Also:
    HttpFilter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doFilter​(HttpRequest request, HttpResponse response)
      Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
    • Method Detail

      • doFilter

        void doFilter​(HttpRequest request,
                      HttpResponse response)
               throws java.io.IOException
        Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
        Parameters:
        request - the request to pass along the chain.
        response - the response to pass along the chain.
        Throws:
        java.io.IOException