com.caucho.servlets.ssi
Class SSIFilter

java.lang.Object
  extended by com.caucho.servlets.ssi.SSIFilter
All Implemented Interfaces:
Filter

public class SSIFilter
extends java.lang.Object
implements Filter

Filters the result as SSI.


Constructor Summary
SSIFilter()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSIFilter

public SSIFilter()
Method Detail

setFactory

public void setFactory(SSIFactory factory)
Set's the SSIFactory, default is a factory that handles the standard Apache SSI commands.


init

public void init(FilterConfig config)
          throws ServletException
Description copied from interface: Filter
Initialize the filter.

Specified by:
init in interface Filter
Throws:
ServletException

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain nextFilter)
              throws ServletException,
                     java.io.IOException
Creates a wrapper to save the output.

Specified by:
doFilter in interface Filter
Parameters:
request - the servlet request
response - the servlet response
nextFilter - the next filter in the chain
Throws:
ServletException
java.io.IOException

destroy

public void destroy()
Any cleanup for the filter.

Specified by:
destroy in interface Filter