|
||||||||||
| 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. |
String |
getDisplayName()
|
int |
getId()
|
String |
getName()
Will get the name. |
String |
getNext()
Will return "add" or "or". |
String |
getOperator()
Will get the operator type. |
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(String s)
|
void |
setId(int id)
|
void |
setName(String name)
Will set the name. |
void |
setNext(String next)
Will set next. |
void |
setOperator(String operator)
Will ste the operator. |
void |
setRule(RuleBase rule)
|
void |
setValue(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(String s)
setError in class TypeConverterpublic String getOperator()
public void setOperator(String operator)
operator - typepublic String getName()
public void setName(String name)
name - the namepublic String getNext()
public void setNext(String next)
next - "or" or "and"public String getValue()
public void setValue(String value)
value - the valuepublic boolean isProcessNextOr()
public void setId(int id)
public int getId()
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public String getDisplayName()
public void setRule(RuleBase rule)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||