Interface HttpServletRequestFilter

All Known Implementing Classes:
CorsHttpServletRequestFilter, GZipFilter, IgnoredPathsFilter, MultipartServletRequestFilter

public interface HttpServletRequestFilter
Filter interface for HttpServletRequestHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HttpServletRequestHandler handler)
    Filter interface for the HttpServletRequestHandler pipeline.
  • Method Details

    • service

      boolean service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HttpServletRequestHandler handler) throws IOException
      Filter interface for the HttpServletRequestHandler pipeline. A filter should delegate to the handler. It may perform operations before or after invoking the handler, and may modify the request and response passed in to the handler.
      Returns:
      true if the request has been handled, false otherwise
      Throws:
      IOException