/wro4j-core/src/main/java/ro/isdc/wro/http/support/AbstractProcessorsFilter.java
final HttpServletResponse wrappedResponse = new RedirectedStreamServletResponseWrapper( os, response) ;final HttpServletResponse response = ( HttpServletResponse) res;
final HttpServletResponse response = ( HttpServletResponse ) res;
} protected void doInit(final FilterConfig config) { } public void doFilter(final ServletRequest req, final ServletResponse res, final FilterChain chain) throws IOException, ServletException { final HttpServletRequest request = (HttpServletRequest) req; <extra_id_0> try { Context.set(Context.webContext(request, response, filterConfig)); final ByteArrayOutputStream os = new ByteArrayOutputStream(); final HttpServletResponse wrappedResponse = new RedirectedStreamServletResponseWrapper(os, response); chain.doFilter(request, wrappedResponse); final Reader reader = new StringReader(new String(os.toByteArray(), Context.get().getConfig().getEncoding()));