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, parseFormDatagetAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic static final String FORM_URLENCODED
public POSTHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
TempStoreOutputStreamFactory streamFactory)
throws IOException
IOExceptionpublic String getFilename()
public String getContentType()
getContentType in interface javax.servlet.ServletRequestgetContentType in class javax.servlet.ServletRequestWrapperpublic BigInteger getSize()
public InputStream getStream()
protected boolean parseFormUrlEncodedData(javax.servlet.http.HttpServletRequest request)
throws IOException
request - the requesttrue if the body contained data, false otherwiseIOExceptionpublic static final boolean isFormUrlencodedContent(javax.servlet.http.HttpServletRequest request)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.