Constructor and Description |
---|
XsltFilter() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setMimeType(java.lang.String mimeType) |
void |
setUnconditional(boolean isUnconditional) |
public void setMimeType(java.lang.String mimeType)
public void setUnconditional(boolean isUnconditional)
public void init(FilterConfig config) throws ServletException
Filter
init
in interface Filter
ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter) throws ServletException, java.io.IOException
doFilter
in interface Filter
request
- the servlet requestresponse
- the servlet responsenextFilter
- the next filter in the chainServletException
java.io.IOException