|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.rewrite.AbstractCondition
com.caucho.server.rewrite.QueryParamCondition
public class QueryParamCondition
A rewrite condition that passes if the value of a query parameter exists and matches a regular expression.
| Method Summary | |
|---|---|
java.lang.String |
getTagName()
Returns a descriptive name for the tag, for logging and for error messages. |
void |
init()
Called at initialization time. |
boolean |
isMatch(HttpServletRequest request,
HttpServletResponse response)
Returns true if the condition passes. |
void |
setCaseInsensitive(boolean caseInsensitive)
|
void |
setRegexp(java.util.regex.Pattern pattern)
|
| Methods inherited from class com.caucho.server.rewrite.AbstractCondition |
|---|
addHeaderValue, destroy, required |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getTagName()
Condition
getTagName in interface ConditiongetTagName in class AbstractConditionpublic void setRegexp(java.util.regex.Pattern pattern)
public void setCaseInsensitive(boolean caseInsensitive)
public void init()
Condition
init in interface Conditioninit in class AbstractCondition
public boolean isMatch(HttpServletRequest request,
HttpServletResponse response)
Condition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||