|
|||||||||
| Home >> All >> org >> apache >> webapp >> balancer >> [ rules overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.webapp.balancer.rules
Class URLStringMatchRule

java.lang.Objectorg.apache.webapp.balancer.rules.BaseRule
org.apache.webapp.balancer.rules.URLStringMatchRule
- All Implemented Interfaces:
- org.apache.webapp.balancer.Rule
- public class URLStringMatchRule
- extends BaseRule
This rule looks for a specific string in the URL for a positive match.
| Field Summary | |
private java.lang.String |
targetString
The target string that must be present in the URL, may not be null. |
| Fields inherited from class org.apache.webapp.balancer.rules.BaseRule |
|
| Constructor Summary | |
URLStringMatchRule()
|
|
| Method Summary | |
protected java.lang.String |
getTargetString()
Returns the target string that must be present in the URL. |
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Determine if the given request matches the rule. |
void |
setTargetString(java.lang.String theTargetString)
Sets the target string that must be present in the URL. |
java.lang.String |
toString()
Returns a String representation of this object. |
| Methods inherited from class org.apache.webapp.balancer.rules.BaseRule |
getName, getRedirectUrl, setName, setRedirectUrl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
targetString
private java.lang.String targetString
- The target string that must be present
in the URL, may not be null.
| Constructor Detail |
URLStringMatchRule
public URLStringMatchRule()
| Method Detail |
setTargetString
public void setTargetString(java.lang.String theTargetString)
- Sets the target string that must
be present in the URL.
getTargetString
protected java.lang.String getTargetString()
- Returns the target string that must
be present in the URL.
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:
matchesin interfaceorg.apache.webapp.balancer.Rule- Specified by:
matchesin classBaseRule
toString
public java.lang.String toString()
|
|||||||||
| Home >> All >> org >> apache >> webapp >> balancer >> [ rules overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC