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

Quick Search    Search Deep

Package org.apache.webapp.balancer.rules

This package contains all classes used by the balancer webapp other than actual rule implementations.

See:
          Description

Class Summary
AcceptEverythingRule This rule matches every request passed to it, making it suitable for use as a catch-all or last rule in a chain.
BaseRule The BaseRule is an empty rule implementation which can be subclassed for extension.
CharacterEncodingRule This rule redirects requests if they are for a specific character encoding.
RemoteAddressRule The remote access rule redirects if the request came from specified remote address.
RequestAttributeRule This rule accepts or rejects requests based on the presence of a attribute in the request.
RequestHeaderRule This rule checks for the presence of a specific request header, optionally with a specific value.
RequestParameterRule This rule accepts or rejects requests based on the presence of a parameter in the request.
SessionAttributeRule This rule accepts or rejects requests based on the presence of a attribute in the request.
URLStringMatchRule This rule looks for a specific string in the URL for a positive match.
UserRoleRule This rule redirects the request based on the user's role.
 

Package org.apache.webapp.balancer.rules Description

This package contains all classes used by the balancer webapp other than actual rule implementations.

The Filter is how the webapp is typically used: see the web.xml file in this distribution for an example.

A org.apache.webapp.balancer.RuleChain is simply a list of rules to be evaluated in order.

The org.apache.webapp.balancer.RulesParser uses Digester to parse the rules configuration file.