public class XssRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
构造器和说明 |
---|
XssRequestWrapper(javax.servlet.http.HttpServletRequest request) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
获取attribute,特殊字符过滤
|
java.lang.String |
getHeader(java.lang.String name)
对请求头部进行特殊字符过滤
|
java.lang.String |
getParameter(java.lang.String name)
对参数中特殊字符进行过滤
|
java.lang.String[] |
getParameterValues(java.lang.String name)
对数组参数进行特殊字符过滤
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
getAsyncContext, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
在接口中 javax.servlet.ServletRequest
getParameterValues
在类中 javax.servlet.ServletRequestWrapper
public java.lang.String getParameter(java.lang.String name)
getParameter
在接口中 javax.servlet.ServletRequest
getParameter
在类中 javax.servlet.ServletRequestWrapper
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
在接口中 javax.servlet.ServletRequest
getAttribute
在类中 javax.servlet.ServletRequestWrapper
public java.lang.String getHeader(java.lang.String name)
getHeader
在接口中 javax.servlet.http.HttpServletRequest
getHeader
在类中 javax.servlet.http.HttpServletRequestWrapper