Constructor and Description |
---|
SSIFilter() |
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 save the output.
|
void |
init(FilterConfig config)
Initialize the filter.
|
void |
setFactory(SSIFactory factory)
Set's the SSIFactory, default is a factory that handles
the standard Apache SSI commands.
|
public void setFactory(SSIFactory factory)
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