public final class POSTHttpServletRequestWrapper extends QueryStringHttpServletRequestWrapper
Modifier and Type | Field and Description |
---|---|
static String |
FORM_URLENCODED |
parameters
Constructor and Description |
---|
POSTHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
TempStoreOutputStreamFactory streamFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFilename() |
BigInteger |
getSize() |
InputStream |
getStream() |
static boolean |
isFormUrlencodedContent(javax.servlet.http.HttpServletRequest request)
Returns if the request is a form-urlencoded request.
|
protected boolean |
parseFormUrlEncodedData(javax.servlet.http.HttpServletRequest request)
Parses a form data request
|
addParameter, addParameter, getParameter, getParameterMap, getParameterNames, getParameterValues, parseFormData
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public static final String FORM_URLENCODED
public POSTHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request, TempStoreOutputStreamFactory streamFactory) throws IOException
IOException
public String getFilename()
public String getContentType()
getContentType
in interface javax.servlet.ServletRequest
getContentType
in class javax.servlet.ServletRequestWrapper
public BigInteger getSize()
public InputStream getStream()
protected boolean parseFormUrlEncodedData(javax.servlet.http.HttpServletRequest request) throws IOException
request
- the requesttrue
if the body contained data, false
otherwiseIOException
public static final boolean isFormUrlencodedContent(javax.servlet.http.HttpServletRequest request)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.