Package org.codice.ddf.pax.web.jetty
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
ConstructorsConstructorDescriptionProxyHttpFilterChain(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 TypeMethodDescriptionvoiddoFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Constructor Details
-
ProxyHttpFilterChain
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfaceorg.codice.ddf.platform.filter.http.HttpFilterChain- Throws:
IOExceptionjavax.servlet.ServletException
-