Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.webapp.balancer.rules
Class AcceptEverythingRule  view AcceptEverythingRule download AcceptEverythingRule.java

java.lang.Object
  extended byorg.apache.webapp.balancer.rules.BaseRule
      extended byorg.apache.webapp.balancer.rules.AcceptEverythingRule
All Implemented Interfaces:
org.apache.webapp.balancer.Rule

public class AcceptEverythingRule
extends BaseRule

This rule matches every request passed to it, making it suitable for use as a catch-all or last rule in a chain.


Field Summary
 
Fields inherited from class org.apache.webapp.balancer.rules.BaseRule
 
Constructor Summary
AcceptEverythingRule()
           
 
Method Summary
 boolean matches(javax.servlet.http.HttpServletRequest request)
          Determine if the given request matches the rule.
 
Methods inherited from class org.apache.webapp.balancer.rules.BaseRule
getName, getRedirectUrl, setName, setRedirectUrl, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcceptEverythingRule

public AcceptEverythingRule()
Method Detail

matches

public boolean matches(javax.servlet.http.HttpServletRequest request)
Description copied from interface: org.apache.webapp.balancer.Rule
Determine if the given request matches the rule.

Specified by:
matches in interface org.apache.webapp.balancer.Rule
Specified by:
matches in class BaseRule