Class AcceptRule

  extended by com.caucho.server.rewrite.AbstractRule
      extended by com.caucho.server.rewrite.AbstractRuleWithConditions
          extended by com.caucho.server.rewrite.AcceptRule
All Implemented Interfaces:
FilterChainMapper, Rule

public class AcceptRule
extends AbstractRuleWithConditions

Nested Class Summary
Nested classes/interfaces inherited from class com.caucho.server.rewrite.AbstractRule
Constructor Summary
protected AcceptRule(RewriteDispatch rewriteDispatch)
Method Summary
 FilterChain dispatch(java.lang.String uri, java.lang.String queryString, FilterChain accept, FilterChainMapper next)
          Returns the FilterChain to invoke if the rule is successful, null indicates that the rule does not invoke a FilterChain.
 java.lang.String getTagName()
Methods inherited from class com.caucho.server.rewrite.AbstractRuleWithConditions
addAnd, addNot, addOr, addUnless, addWhen, destroy, getFullUrlRegexp, getRegexp, init, map, mapImpl, required, rewrite, setFullUrlRegexp, setRegexp
Methods inherited from class com.caucho.server.rewrite.AbstractRule
clearCache, createAdmin, getFailFilterChainMapper, getLogPrefix, getName, getPassFilterChainMapper, getRewriteDispatch, isEnabled, register, setDisableAt, setEnableAt, setEnabled, setFailFilterChainMapper, setLogPrefix, setName, setPassFilterChainMapper, unregister
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


protected AcceptRule(RewriteDispatch rewriteDispatch)
Method Detail


public java.lang.String getTagName()


public FilterChain dispatch(java.lang.String uri,
                            java.lang.String queryString,
                            FilterChain accept,
                            FilterChainMapper next)
Description copied from class: AbstractRuleWithConditions
Returns the FilterChain to invoke if the rule is successful, null indicates that the rule does not invoke a FilterChain.

Specified by:
dispatch in class AbstractRuleWithConditions
uri - the target uri, possibly rewritten
accept - a FilterChain that stops evaluation of rewrite rules and