Class ProxyHttpFilterChain

java.lang.Object
org.codice.ddf.pax.web.jetty.ProxyHttpFilterChain
All Implemented Interfaces:
org.codice.ddf.platform.filter.http.HttpFilterChain

public class ProxyHttpFilterChain extends Object implements org.codice.ddf.platform.filter.http.HttpFilterChain
Implementation of filter chain that allows the ability to dynamically add new Filters to a chain. The ProxyHttpFilterChain may not be reused. That is, once the doFilter(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method is called, no more HttpFilters may be added.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyHttpFilterChain(List<org.codice.ddf.platform.filter.http.HttpFilter> filters, org.eclipse.jetty.server.Handler handler, String target, org.eclipse.jetty.server.Request baseRequest)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     

    Methods inherited from class java.lang.Object

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

    • ProxyHttpFilterChain

      public ProxyHttpFilterChain(List<org.codice.ddf.platform.filter.http.HttpFilter> filters, org.eclipse.jetty.server.Handler handler, String target, org.eclipse.jetty.server.Request baseRequest)
  • Method Details

    • doFilter

      public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface org.codice.ddf.platform.filter.http.HttpFilterChain
      Throws:
      IOException
      javax.servlet.ServletException