List of usage examples for javax.servlet.http HttpServletRequestWrapper subclass-usage
From source file AIR.Common.Web.Session.ContentLoggingHttpServletRequest.java
public class ContentLoggingHttpServletRequest extends HttpServletRequestWrapper { private byte[] content; public ContentLoggingHttpServletRequest(HttpServletRequest request) throws IOException { super(request); InputStream is = super.getInputStream();
From source file org.apache.shiro.grails.SavedHttpServletRequest.java
/**
* If the user posts some data from his browser while not authenticated,
* we cannot simply redirect back to the original URL after login because
* the POST becomes a GET. This servlet wrapper allows us to save the
* details of the original request, including the POST data. Note it
* currently only works with POST requests - don't use it to save GET
From source file org.bonitasoft.console.common.server.login.filter.MultiReadHttpServletRequest.java
public class MultiReadHttpServletRequest extends HttpServletRequestWrapper { private ByteArrayOutputStream readBytes; public MultiReadHttpServletRequest(final HttpServletRequest request) { super(request);
From source file org.openhie.openempi.webapp.filter.LocaleRequestWrapper.java
/** * HttpRequestWrapper overriding methods getLocale(), getLocales() to include * the user's preferred locale. */ public class LocaleRequestWrapper extends HttpServletRequestWrapper { private final transient Log log = LogFactory.getLog(LocaleRequestWrapper.class);
From source file com.tern.web.MultiPartEnabledRequest.java
/**
* <p>Title: ?MultiPartRequest</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2010</p>
* @author Fancimage
* @version 1.0
From source file net.mymam.upload.UploadMultipartRequestWrapper.java
/**
* Wrap multipart request in order to make uploaded files accessible
* to the {@link net.mymam.ui.Upload Upload} component.
* <p/>
* See section "How do I support file uploads" in <i>Core Java Server Faces</i>, 3rd Edition.
From source file com.atolcd.alfresco.RequestWrapper.java
/**
* Override of the HttpServletRequestWrapper.
*
* Basically, the inputStream can be read only once.
*
* It was therefore impossible to audit data posted by Alfresco. The
From source file org.apache.struts2.dispatcher.StrutsRequestWrapper.java
/**
* <!-- START SNIPPET: javadoc -->
*
* All Struts requests are wrapped with this class, which provides simple JSTL accessibility. This is because JSTL
* works with request attributes, so this class delegates to the value stack except for a few cases where required to
* prevent infinite loops. Namely, we don't let any attribute name with "#" in it delegate out to the value stack, as it
From source file org.fcrepo.auth.webac.CachedSparqlRequest.java
/**
* An extension of HttpServletRequestWrapper that caches the InputStream as
* byte array and overrides the getInputStream to return a new InputStream
* object each time based on the cached byte array.
*
* @author mohideen
From source file net.sourceforge.fenixedu.presentationTier.Action.teacher.siteArchive.streams.FetcherRequestWrapper.java
/**
* This request wrapper is used to ensure that the original request remains
* unchanged. All elements that can be changed in a request are handled locally
* and changes are not propagated to the wrapped request.
*
* @author cfgi