Example usage for javax.servlet.http HttpServletResponseWrapper subclass-usage

List of usage examples for javax.servlet.http HttpServletResponseWrapper subclass-usage

Introduction

In this page you can find the example usage for javax.servlet.http HttpServletResponseWrapper subclass-usage.

Usage

From source file org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper.java

/**
 * @author Sylvain Vieujot (latest modification by $Author$)
 * @version $Revision$ $Date$
 */
public class ExtensionsResponseWrapper extends HttpServletResponseWrapper {
    private ByteArrayOutputStream stream = null;

From source file org.focusns.common.web.page.engine.widget.WidgetResponse.java

public class WidgetResponse extends HttpServletResponseWrapper implements HttpServletResponse {

    private PrintWriter writer;
    private ResponseServletOutputStream outputStream;
    private ByteArrayOutputStream content = new ByteArrayOutputStream();

From source file org.cloudfoundry.tools.timeout.monitor.MonitoredHttpServletResponseWrapper.java

/**
 * A {@link HttpServletResponseWrapper wrapper} that can be used to {@link HttpServletResponseMonitor monitor} a
 * {@link HttpServletResponse}. All outgoing data is passed to the monitor as well as to the wrapped response. The
 * monitor is lazily created on the first suitable response invocation using the specified
 * {@link HttpServletResponseMonitorFactory}.
 * 

From source file eu.freme.broker.tools.loggingfilter.ResponseWrapper.java

public class ResponseWrapper extends HttpServletResponseWrapper {

    private final ByteArrayOutputStream bos = new ByteArrayOutputStream();
    private PrintWriter writer = new PrintWriter(bos);
    private long id;

From source file org.hdiv.filter.ResponseWrapper.java

/**
 * A wrapper for HTTP servlet response.
 * 
 * @author Gorka Vicente
 * @see javax.servlet.http.HttpServletResponseWrapper
 * @since HDIV 1.1

From source file UpperCaseFilter.java

class CharResponseWrapper extends HttpServletResponseWrapper {
    protected CharArrayWriter charWriter;

    protected PrintWriter writer;

    protected boolean getOutputStreamCalled;

From source file CompressionServletResponseWrapper.java

/**
 * Implementation of <b>HttpServletResponseWrapper</b> that works with
 * the CompressionServletResponseStream implementation..
 *
 * @author Amy Roh
 * @author Dmitri Valdin

From source file ch.entwine.weblounge.kernel.publisher.JSONResponseWrapper.java

/**
 * Servlet response wrapper that will convert the response from <code>xml</code>
 * to <code>json</code>.
 */
public class JSONResponseWrapper extends HttpServletResponseWrapper {

From source file net.sf.j2ep.UrlRewritingResponseWrapper.java

/**
 * A wrapper for the normal HttpServletResponse, based on the content-type
 * either the normal output stream of a wrapped stream will be returned. The
 * wrapped stream can handle rewrite of links found in the source.
 * 
 * This class also handles rewriting of the headers Location and Set-Cookie.

From source file org.onehippo.forge.hst.pdf.renderer.servlet.ContentCapturingHttpServletResponse.java

/**
 * ContentCapturingHttpServletResponse
 */
public class ContentCapturingHttpServletResponse extends HttpServletResponseWrapper {

    private static Logger log = LoggerFactory.getLogger(ContentCapturingHttpServletResponse.class);