public class HttpServletRequestParamWrapper extends HttpServletRequestWrapper
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
HttpServletRequestParamWrapper(HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration |
getAttributeNames() |
Locale |
getLocale() |
Enumeration |
getLocales() |
String |
getParameter(String name) |
Map |
getParameterMap() |
Enumeration |
getParameterNames() |
String[] |
getParameterValues(String name) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object o) |
void |
setParameter(String name,
String value)
New method to set the parameter value.
|
void |
setParameter(String name,
String[] values)
New method to set the parameter with multiple values.
|
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logoutgetAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, setCharacterEncoding, startAsync, startAsyncpublic HttpServletRequestParamWrapper(HttpServletRequest request)
request - public String getParameter(String name)
getParameter in interface ServletRequestgetParameter in class ServletRequestWrapperpublic Map getParameterMap()
getParameterMap in interface ServletRequestgetParameterMap in class ServletRequestWrapperpublic Enumeration getParameterNames()
getParameterNames in interface ServletRequestgetParameterNames in class ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface ServletRequestgetParameterValues in class ServletRequestWrapperpublic void setParameter(String name, String value)
name - value - public void setParameter(String name, String[] values)
name - values - public Object getAttribute(String name)
getAttribute in interface ServletRequestgetAttribute in class ServletRequestWrapperpublic Enumeration getAttributeNames()
getAttributeNames in interface ServletRequestgetAttributeNames in class ServletRequestWrapperpublic void removeAttribute(String name)
removeAttribute in interface ServletRequestremoveAttribute in class ServletRequestWrapperpublic void setAttribute(String name, Object o)
setAttribute in interface ServletRequestsetAttribute in class ServletRequestWrapperpublic Locale getLocale()
getLocale in interface ServletRequestgetLocale in class ServletRequestWrapperpublic Enumeration getLocales()
getLocales in interface ServletRequestgetLocales in class ServletRequestWrapper