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 .