public class QueryStringHttpServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String[]> |
parameters |
| Constructor and Description |
|---|
QueryStringHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameter(String name,
String value)
Adds a value to a parameter.
|
protected void |
addParameter(String name,
String[] additionalValues)
Adds an array of values to a parameter.
|
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
protected void |
parseFormData(String queryString)
Parses the query string.
|
getAuthType, 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, getContentType, 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, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic QueryStringHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
throws IOException
IOExceptionprotected final void parseFormData(String queryString) throws IOException
IOExceptionprotected final void addParameter(String name, String value)
protected final void addParameter(String name, String[] additionalValues)
public final String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic final Map<String,String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic final Enumeration<String> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.