public final class HttpRequestRealmWrapper
extends javax.servlet.http.HttpServletRequestWrapper
Constructor and Description |
---|
HttpRequestRealmWrapper(javax.servlet.http.HttpServletRequest servletRequest) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameter(java.lang.String parameter)
Returns the value of a request parameter as a String, or null if the parameter does not exist.
|
java.lang.String[] |
getParameterValues(java.lang.String parameter)
Returns an array of String objects containing all of the values the given request parameter has, or null if the
parameter does not exist.
|
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public HttpRequestRealmWrapper(javax.servlet.http.HttpServletRequest servletRequest)
public java.lang.String[] getParameterValues(java.lang.String parameter)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
name
- a String containing the name of the parameter whose value is requestedpublic java.lang.String getParameter(java.lang.String parameter)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
name
- a String specifying the name of the parameter