public class XssServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| 构造器和说明 |
|---|
XssServletRequestWrapper(javax.servlet.http.HttpServletRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.owasp.validator.html.AntiSamy |
getAntiSamy() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
String[] |
getParameterValues(String name) |
org.owasp.validator.html.Policy |
getPolicy() |
void |
setPolicy(org.owasp.validator.html.Policy policy) |
protected String |
xssClean(String value) |
protected String[] |
xssClean(String[] values) |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, 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, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, 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, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic XssServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
public org.owasp.validator.html.Policy getPolicy()
throws FileNotFoundException
public void setPolicy(org.owasp.validator.html.Policy policy)
public String getParameter(String name)
getParameter 在接口中 javax.servlet.ServletRequestgetParameter 在类中 javax.servlet.ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues 在接口中 javax.servlet.ServletRequestgetParameterValues 在类中 javax.servlet.ServletRequestWrapperpublic Map<String,String[]> getParameterMap()
getParameterMap 在接口中 javax.servlet.ServletRequestgetParameterMap 在类中 javax.servlet.ServletRequestWrapperprotected org.owasp.validator.html.AntiSamy getAntiSamy()
Copyright © 2022 buession.com Inc.. All rights reserved.