com.caucho.rewrite
Class Dispatch

java.lang.Object
  extended by com.caucho.rewrite.AbstractDispatchRule
      extended by com.caucho.rewrite.AbstractRegexpDispatchRule
          extended by com.caucho.rewrite.AbstractTargetDispatchRule
              extended by com.caucho.rewrite.Dispatch
All Implemented Interfaces:
DispatchRule

@Configurable
public class Dispatch
extends AbstractTargetDispatchRule

Dispatch the request using the standard servlet and filter processing. The Dispatch rule can be used to select normal processing before additional rewrites.

 <web-app xmlns:resin="urn:java:com.caucho.resin">

   <resin:Dispatch regexp="\.(php|jpg|gif|js|css)"/>

   <resin:Dispatch regexp="^" target="/index.php"/>

 </web-app>
 


Constructor Summary
Dispatch()
           
 
Method Summary
 FilterChain createDispatch(DispatcherType type, java.lang.String uri, java.lang.String queryString, java.lang.String target, FilterChain next)
           
 
Methods inherited from class com.caucho.rewrite.AbstractTargetDispatchRule
getTarget, init, rewriteDefault, rewriteTarget, setAbsoluteTarget, setTarget, setTargetHost
 
Methods inherited from class com.caucho.rewrite.AbstractRegexpDispatchRule
add, add, add, getRegexp, isFilter, isForward, isInclude, isRequest, map, rewriteUri, setRegexp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dispatch

public Dispatch()
Method Detail

createDispatch

public FilterChain createDispatch(DispatcherType type,
                                  java.lang.String uri,
                                  java.lang.String queryString,
                                  java.lang.String target,
                                  FilterChain next)
Overrides:
createDispatch in class AbstractRegexpDispatchRule