public class ParametersServletRequestWrapper extends HttpServletRequestWrapper
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
ParametersServletRequestWrapper(HttpServletRequest httpServletRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value) |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
void |
setCharacterEncoding(String enc)
Ignores any attempt to set the character encoding, as it already has been set before the request content was
parsed.
|
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, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, startAsync, startAsyncpublic ParametersServletRequestWrapper(HttpServletRequest httpServletRequest)
public String getParameter(String name)
getParameter in interface ServletRequestgetParameter in class ServletRequestWrapperpublic Map<String,String[]> getParameterMap()
getParameterMap in interface ServletRequestgetParameterMap in class ServletRequestWrapperpublic Enumeration<String> getParameterNames()
getParameterNames in interface ServletRequestgetParameterNames in class ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface ServletRequestgetParameterValues in class ServletRequestWrapperpublic void addParameter(String name, String value)
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException
setCharacterEncoding in interface ServletRequestsetCharacterEncoding in class ServletRequestWrapperUnsupportedEncodingExceptionSymbolConstants.CHARSET5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.