1 package com.bradmcevoy.http;
2
3 /** Interface for a request/response wrapping filter.
4 * <P/>
5 * Add these with HttpManager.addFilter(ordinal,filter)
6 * <P/>
7 * By default the manager loads a single filter which delegates the
8 * request to a handler appropriate for the request method
9 * <P/>
10 * Users can add their own for logging, security, managing database connections etc
11 *
12 */
13 public interface Filter {
14 public void process(FilterChain chain, Request request, Response response);
15 }