public class ESAPIFilter extends Object implements javax.servlet.Filter
Constructor and Description |
---|
ESAPIFilter() |
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 req,
javax.servlet.ServletResponse resp,
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 init(javax.servlet.FilterConfig filterConfig)
Init parameters in web.xml for this filter:
init
in interface javax.servlet.Filter
filterConfig
- configuration objectpublic void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws IOException
doFilter
in interface javax.servlet.Filter
req
- Request object to be processedresp
- Response objectchain
- current FilterChainIOException
- if any occurspublic void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2022 The Open Web Application Security Project (OWASP). All rights reserved.