public class XSSUrlFilter extends Object implements javax.servlet.Filter
Constructor and Description |
---|
XSSUrlFilter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsMarkups(String value) |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig config) |
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public static boolean containsMarkups(String value)
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.