com.caucho.rewrite
Class RewriteFilterAdapter

java.lang.Object
  extended by com.caucho.rewrite.RewriteFilterAdapter
All Implemented Interfaces:
RewriteFilter

public class RewriteFilterAdapter
extends java.lang.Object
implements RewriteFilter

Wraps a Java filter in a RewriteFilter


Constructor Summary
RewriteFilterAdapter(Filter filter)
           
 
Method Summary
 boolean isForward()
           
 boolean isInclude()
           
 boolean isRequest()
           
 FilterChain map(java.lang.String uri, java.lang.String queryString, FilterChain next)
          Creates a FilterChain for the action based on the uri and query string.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RewriteFilterAdapter

public RewriteFilterAdapter(Filter filter)
                     throws ServletException
Throws:
ServletException
Method Detail

isRequest

public boolean isRequest()
Specified by:
isRequest in interface RewriteFilter

isInclude

public boolean isInclude()
Specified by:
isInclude in interface RewriteFilter

isForward

public boolean isForward()
Specified by:
isForward in interface RewriteFilter

map

public FilterChain map(java.lang.String uri,
                       java.lang.String queryString,
                       FilterChain next)
Description copied from interface: RewriteFilter
Creates a FilterChain for the action based on the uri and query string.

Specified by:
map in interface RewriteFilter
Parameters:
uri - the request URI to match against
queryString - the request query string to match against
next - the next rewrite FilterChain dispatch

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object