| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderFilter.Header |
| Constructor and Description |
|---|
HeaderFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(HeaderFilter.Header header) |
void |
destroy()
Any cleanup for the filter.
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain nextFilter)
Creates a wrapper to compress the output.
|
void |
init(FilterConfig config)
Initialize the filter.
|
public void addHeader(HeaderFilter.Header header)
public void init(FilterConfig config) throws ServletException
Filterinit in interface FilterServletExceptionpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter) throws ServletException, java.io.IOException
doFilter in interface Filterrequest - the servlet requestresponse - the servlet responsenextFilter - the next filter in the chainServletExceptionjava.io.IOException