public class ParametersServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper
| Constructor and Description |
|---|
ParametersServletRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.String value) |
java.lang.String |
getParameter(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.Object> |
getParameterMap() |
java.util.Enumeration |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
void |
setCharacterEncoding(java.lang.String enc)
Ignores any attempt to set the character encoding, as it already has been set before the request content was
parsed.
|
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, 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, setAttributepublic ParametersServletRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest)
public java.lang.String getParameter(java.lang.String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic java.util.Map<java.lang.String,java.lang.Object> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic java.util.Enumeration getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperpublic void addParameter(java.lang.String name, java.lang.String value)
public void setCharacterEncoding(java.lang.String enc) throws java.io.UnsupportedEncodingException
setCharacterEncoding in interface javax.servlet.ServletRequestsetCharacterEncoding in class javax.servlet.ServletRequestWrapperjava.io.UnsupportedEncodingExceptionSymbolConstants.CHARSET${project.version} - Copyright © 2003-2015 The Apache Software Foundation.