public class HttpCrossSiteScriptingSecurity
extends java.lang.Object
implements javax.servlet.Filter
| Constructor and Description |
|---|
HttpCrossSiteScriptingSecurity() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called by the web container to indicate to a filter that it is being taken out of service.
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
The doFilter method of the Filter is called by the container each time a request/response pair is passed through
the chain due to a client request for a resource at the end of the chain.
|
void |
init(javax.servlet.FilterConfig filterConfig)
Called by the web container to indicate to a filter that it is being placed into service.
|
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig filterConfig)
init in interface javax.servlet.Filterpublic void destroy()
destroy in interface javax.servlet.Filter