List of usage examples for javax.servlet.http HttpServletResponseWrapper subclass-usage
From source file org.unitedinternet.cosmo.filters.ResponseErrorWrapper.java
/**
* HttpServletResponseWrapper that catches INTERNAL_SERVER_ERROR
* responses (status code 500) and allows the error to be flushed
* or cleared. This allows an error response to be voided, which
* is useful for servlet filters that may want to retry the request
* before returning an error to the client.
From source file org.iqvis.nvolv3.request.filter.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 com.heniktechnology.mobile_api.transaction_logger.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.apache.axis2.webapp.CSRFPreventionResponseWrapper.java
final class CSRFPreventionResponseWrapper extends HttpServletResponseWrapper { private static final Log log = LogFactory.getLog(CSRFPreventionResponseWrapper.class); private final Map<String, ActionHandler> actionHandlers; private final CSRFTokenCache tokenCache; private final Random random;
From source file com.pagecrumb.proxy.util.filter.GenericResponseWrapper.java
/**
* A generic wrapper for HttpServlet response which do response document
* manipulation and transformation.
*
* @author Kerby Martino
*
From source file org.ebayopensource.turmeric.runtime.tests.common.jetty.DebugHttpServletResponse.java
public class DebugHttpServletResponse extends HttpServletResponseWrapper { private static final Logger LOG = Logger.getLogger("jetty.debug.response"); class DelegatingServletOutputStream extends ServletOutputStream { private OutputStream out;
From source file org.displaytag.filter.BufferedResponseWrapper13Impl.java
/**
* J2ee 1.3 implementation of BufferedResponseWrapper. Need to extend HttpServletResponseWrapper for Weblogic
* compatibility.
* @author rapruitt
* @author Fabrizio Giustina
* @version $Revision: 1.4 $ ($Author: fgiust $)
From source file org.candlepin.common.filter.TeeHttpServletResponse.java
/** * Heavily borrowed from the logback-access package. */ public class TeeHttpServletResponse extends HttpServletResponseWrapper implements BodyLogger { protected TeeServletOutputStream teeServletOutputStream;
From source file com.glaf.core.web.filter.GZIPResponseWrapper.java
public class GZIPResponseWrapper extends HttpServletResponseWrapper { private final static Log log = LogFactory.getLog(GZIPResponseWrapper.class); protected HttpServletResponse origResponse = null; protected ServletOutputStream stream = null; protected PrintWriter writer = null; protected int error = 0;
From source file org.nuxeo.ecm.platform.webdav.servlet.WebDavResponseWrapper.java
/**
* Response wrapper for WebDAV requests.
* <p>
* Encapsulates WebDAV-specific methods.
*
* @author tiry