src/main/java/org/eiichiro/bootleg/BootlegFilter.java
public void doFilter(ServletRequest request, ServletResponse response,
			FilterChain chain) throws IOException, ServletException {
		try {
			pipeline.apply(new WebContext(configuration, (HttpServletRequest) request, (HttpServletResponse) response, chain));
		} catch (Exception e) {
			logger.warn("Failed to process HTTP request", e);
			((HttpServletResponse) response).sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
		}
	}
public void doFilter(ServletRequest request, ServletResponse response,
			FilterChain chain) throws IOException, ServletException {
		try {
			pipeline.apply(new WebContext(configuration, (HttpServletRequest) request, (HttpServletResponse) response, chain));
		} catch (Exception e) {
			logger.warn("Failed to process HTTP request", e);
			((HttpServletResponse) response).sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
		}
	}
Processes the Web request in Bootleg.

@param request HTTP request.
@param response HTTP response.
@throws IOException If any I/O error has occurred.
@throws ServletException If any exception has occurred in processing the
request.