|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tuckey.web.filters.urlrewrite.TypeConverter
org.tuckey.web.filters.urlrewrite.Condition
public class Condition
Conditions must be met when the filter is processing a url.
Field Summary |
---|
Constructor Summary | |
---|---|
Condition()
|
Method Summary | |
---|---|
ConditionMatch |
getConditionMatch(javax.servlet.http.HttpServletRequest hsRequest)
Will check and see if the condition matches the request. |
java.lang.String |
getDisplayName()
|
int |
getId()
|
java.lang.String |
getName()
Will get the name. |
java.lang.String |
getNext()
Will return "add" or "or". |
java.lang.String |
getOperator()
Will get the operator type. |
java.lang.String |
getValue()
Will get the value. |
boolean |
initialise()
Returns false on failure. |
boolean |
isCaseSensitive()
|
boolean |
isProcessNextOr()
True if process next is or. |
boolean |
matches(javax.servlet.http.HttpServletRequest hsRequest)
Deprecated. use getConditionMatch(HttpServletRequest hsRequest) |
void |
setCaseSensitive(boolean caseSensitive)
|
protected void |
setError(java.lang.String s)
|
void |
setId(int id)
|
void |
setName(java.lang.String name)
Will set the name. |
void |
setNext(java.lang.String next)
Will set next. |
void |
setOperator(java.lang.String operator)
Will ste the operator. |
void |
setRule(RuleBase rule)
|
void |
setValue(java.lang.String value)
Will set the value. |
Methods inherited from class org.tuckey.web.filters.urlrewrite.TypeConverter |
---|
getError, getType, getTypeShort, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Condition()
Method Detail |
---|
public boolean matches(javax.servlet.http.HttpServletRequest hsRequest)
hsRequest
-
public ConditionMatch getConditionMatch(javax.servlet.http.HttpServletRequest hsRequest)
hsRequest
-
public boolean initialise()
protected void setError(java.lang.String s)
setError
in class TypeConverter
public java.lang.String getOperator()
public void setOperator(java.lang.String operator)
operator
- typepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic java.lang.String getNext()
public void setNext(java.lang.String next)
next
- "or" or "and"public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the valuepublic boolean isProcessNextOr()
public void setId(int id)
public int getId()
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public java.lang.String getDisplayName()
public void setRule(RuleBase rule)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |