javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequestpublic static class HttpServer2.QuotingInputFilter.RequestQuoter
extends javax.servlet.http.HttpServletRequestWrapper
| Constructor | Description |
|---|---|
RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getParameter(java.lang.String name) |
Unquote the name and quote the value.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
|
java.util.Enumeration<java.lang.String> |
getParameterNames() |
Return the set of parameter names, quoting each name.
|
java.lang.String[] |
getParameterValues(java.lang.String name) |
|
java.lang.StringBuffer |
getRequestURL() |
Quote the url so that users specifying the HOST HTTP header
can't inject attacks.
|
java.lang.String |
getServerName() |
Quote the server name so that users specifying the HOST HTTP header
can't inject attacks.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest)
public java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames in interface javax.servlet.ServletRequestgetParameterNames in class javax.servlet.ServletRequestWrapperpublic java.lang.String getParameter(java.lang.String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperpublic java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic java.lang.StringBuffer getRequestURL()
getRequestURL in interface javax.servlet.http.HttpServletRequestgetRequestURL in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class javax.servlet.ServletRequestWrapperCopyright © 2008–2025 Apache Software Foundation. All rights reserved.