public static class HttpServer.QuotingInputFilter.RequestQuoter extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Field and Description | 
|---|---|
private javax.servlet.http.HttpServletRequest | 
rawRequest  | 
| Constructor and Description | 
|---|
RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getParameter(String name)
Unquote the name and quote the value. 
 | 
Map<String,String[]> | 
getParameterMap()  | 
Enumeration<String> | 
getParameterNames()
Return the set of parameter names, quoting each name. 
 | 
String[] | 
getParameterValues(String name)  | 
StringBuffer | 
getRequestURL()
Quote the url so that users specifying the HOST HTTP header
 can't inject attacks. 
 | 
String | 
getServerName()
Quote the server name so that users specifying the HOST HTTP header
 can't inject attacks. 
 | 
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, 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, 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, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingprivate final javax.servlet.http.HttpServletRequest rawRequest
public RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest)
public Enumeration<String> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperpublic Map<String,String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic StringBuffer getRequestURL()
getRequestURL in interface javax.servlet.http.HttpServletRequestgetRequestURL in class javax.servlet.http.HttpServletRequestWrapperpublic String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class javax.servlet.ServletRequestWrapperCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.