com.caucho.filters
Class XsltFilter

java.lang.Object
  extended by com.caucho.filters.XsltFilter
All Implemented Interfaces:
Filter

public class XsltFilter
extends java.lang.Object
implements Filter

Sends the results of the servlet through XSLT.

Since:
Resin 2.0.6

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

Constructor Detail

XsltFilter

public XsltFilter()
Method Detail

setMimeType

public void setMimeType(java.lang.String mimeType)

setUnconditional

public void setUnconditional(boolean isUnconditional)

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 compress 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