List of usage examples for javax.servlet.http HttpServletResponseWrapper subclass-usage
From source file org.springframework.session.web.http.OnCommittedResponseWrapper.java
/**
* Base class for response wrappers which encapsulate the logic for handling an event when
* the {@link javax.servlet.http.HttpServletResponse} is committed.
*
* @author Rob Winch
* @since 1.0
From source file org.siphon.servlet.DummyHttpServletResponse.java
/**
* ??
* DummyHttpServletResponse dummyResp = new DummyHttpServletResponse(response);
//request.getServletContext().getRequestDispatcher("/test/b.jsp?a=/1").include(request, dummyResp);
//request.getServletContext().getRequestDispatcher("/molecules/xxx.html").include(request, dummyResp);
request.getServletContext().getRequestDispatcher("/molecules/xxx.jssp").include(request, dummyResp);
From source file com.sonicle.webtop.core.servlet.old.WriterResponseWrapper.java
/** * * @author malbinola */ public class WriterResponseWrapper extends HttpServletResponseWrapper implements ClosableServletResponse { private PrintWriter writer = null;
From source file org.jahia.services.seo.urlrewrite.SessionidRemovalResponseWrapper.java
/** * Simple filter that removes the ;jsessionid string */ public class SessionidRemovalResponseWrapper extends HttpServletResponseWrapper { private HttpServletRequest request;
From source file ch.entwine.weblounge.cache.impl.CacheableHttpServletResponse.java
/**
* Implementation of a <code>HttpServletResponseWrapper</code> that allows for
* response caching by installing a custom version of an output stream which
* works like the <code>tee</code> command in un*x systems. Like this, the
* output can be written to the response cache <i>and</i> to the client at the
* same time.
From source file org.esigate.servlet.impl.ResponseCapturingWrapper.java
/**
* Wrapper to the HttpServletResponse that intercepts the content written in order to build an
* {@link org.apache.http.HttpResponse}.
* <ul>
* <li>If the content of the response is required for transformation (parseable content-type or proxy=false) or smaller
* than the buffer size the {@link org.apache.http.HttpResponse} will contain the entire response</li>
From source file org.jahia.utils.NoOutputResponseWrapper.java
/** * Response wrapper that skips the written output. * * @author Sergiy Shyrkov */ public class NoOutputResponseWrapper extends HttpServletResponseWrapper {
From source file org.chtijbug.drools.platform.web.filter.DynamicBaseFilter.java
class CharResponseWrapper extends HttpServletResponseWrapper { private CharArrayWriter output; public CharResponseWrapper(HttpServletResponse response) { super(response); this.output = new CharArrayWriter();
From source file ch.entwine.weblounge.common.impl.request.WebloungeResponseImpl.java
/** * Default implementation of the <code>WebloungeResponse</code>. */ public class WebloungeResponseImpl extends HttpServletResponseWrapper implements WebloungeResponse { /** Flag for invalidated responses that should not be cached */
From source file org.ajax4jsf.webapp.FilterServletResponseWrapper.java
/**
* Base wrapper save JSF page response, for parse to XML with different parsers
* @author shura (latest modification by $Author: alexsmirnov $)
* @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:58:17 $
*
*/