List of usage examples for javax.servlet.http HttpServletResponseWrapper subclass-usage
From source file org.springframework.cloud.sleuth.instrument.web.TraceHttpServletResponse.java
/** * We want to set SS as fast as possible after the response was sent back. The response * can be sent back by calling either an {@link ServletOutputStream} or {@link PrintWriter}. */ class TraceHttpServletResponse extends HttpServletResponseWrapper {
From source file com.anite.ocelot.CachedHttpResponse.java
/** * @author Matthew.Norris */ public class CachedHttpResponse extends HttpServletResponseWrapper { /** logging */
From source file kziomek.filter.logging.TeeResponseWrapper.java
public class TeeResponseWrapper extends HttpServletResponseWrapper { private final ByteArrayOutputStream bos = new ByteArrayOutputStream(); private PrintWriter writer = new PrintWriter(bos); public TeeResponseWrapper(HttpServletResponse response) {
From source file org.osaf.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 com.du.order.dist.log.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.minlia.cloud.framework.web.logging.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.comcast.video.dawg.filter.gzip.GZipServletResponseWrapper.java
/** * GZip servlet response wrapper. */ public class GZipServletResponseWrapper extends HttpServletResponseWrapper { /** Output stream for sending compressed data in GZIP format to the client */
From source file com.intel.podm.rest.ReplicatedStreamHttpServletResponse.java
public class ReplicatedStreamHttpServletResponse extends HttpServletResponseWrapper implements AutoCloseable { private final ByteArrayOutputStream byteArrayOutputStream; private final PrintStream printStream; ReplicatedStreamHttpServletResponse(HttpServletResponse response) { super(response);
From source file edu.cornell.mannlib.vitro.webapp.filters.URLRewritingHttpServletResponse.java
public class URLRewritingHttpServletResponse extends HttpServletResponseWrapper/*implements HttpServletResponse */ { private final static Log log = LogFactory.getLog(URLRewritingHttpServletResponse.class); private HttpServletResponse _response; private ServletContext _context;
From source file edu.utah.further.i2b2.hook.further.web.CapturedResponseWrapper.java
/**
* A response wrapper which is backed by a {@link ByteArrayOutputStream}. Useful for
* manipulating the response.
* <p>
* -----------------------------------------------------------------------------------<br>
* (c) 2008-2013 FURTHeR Project, Health Sciences IT, University of Utah<br>