public static class HttpServer.QuotingInputFilter.RequestQuoter
extends javax.servlet.http.HttpServletRequestWrapper
构造器和说明 |
---|
HttpServer.QuotingInputFilter.RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest) |
限定符和类型 | 方法和说明 |
---|---|
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, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public HttpServer.QuotingInputFilter.RequestQuoter(javax.servlet.http.HttpServletRequest rawRequest)
public Enumeration<String> getParameterNames()
getParameterNames
在接口中 javax.servlet.ServletRequest
getParameterNames
在类中 javax.servlet.ServletRequestWrapper
public String getParameter(String name)
getParameter
在接口中 javax.servlet.ServletRequest
getParameter
在类中 javax.servlet.ServletRequestWrapper
public String[] getParameterValues(String name)
getParameterValues
在接口中 javax.servlet.ServletRequest
getParameterValues
在类中 javax.servlet.ServletRequestWrapper
public Map<String,String[]> getParameterMap()
getParameterMap
在接口中 javax.servlet.ServletRequest
getParameterMap
在类中 javax.servlet.ServletRequestWrapper
public StringBuffer getRequestURL()
getRequestURL
在接口中 javax.servlet.http.HttpServletRequest
getRequestURL
在类中 javax.servlet.http.HttpServletRequestWrapper
public String getServerName()
getServerName
在接口中 javax.servlet.ServletRequest
getServerName
在类中 javax.servlet.ServletRequestWrapper
Copyright © 2009 The Apache Software Foundation