private final ContentProcessor contentProcessor;
private final SiteMeshWebAppContext webAppContext;
private boolean redirectCalled;
public GrailsContentBufferingResponse(HttpServletResponse response, final ContentProcessor contentProcessor, final SiteMeshWebAppContext webAppContext) {
super(new GrailsPageResponseWrapper(webAppContext.getRequest(), response, new PageParserSelector() {
public boolean shouldParsePage(String contentType) {
return contentProcessor.handles(contentType);
}
public PageParser getPageParser(String contentType) {