|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport org.apache.commons.latka.jelly.validators.CookieTag
public class CookieTag
A class to check for the existence and value of cookies
Field Summary | |
---|---|
protected boolean |
_cond
|
protected static org.apache.log4j.Category |
_log
|
protected String |
_name
|
protected String |
_value
|
Fields inherited from class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport |
---|
_label, _listener, _response |
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
CookieTag()
|
Method Summary | |
---|---|
Validator |
getValidator()
|
void |
setCond(boolean cond)
sets whether or not this cookie is expected |
void |
setName(String name)
Setter the cookie name. |
void |
setValue(String value)
Set the cookie value |
Methods inherited from class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport |
---|
doTag, getResponse, init, setLabel, validate |
Methods inherited from class org.apache.commons.jelly.TagSupport |
---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean _cond
protected String _name
protected String _value
protected static final org.apache.log4j.Category _log
Constructor Detail |
---|
public CookieTag()
Method Detail |
---|
public Validator getValidator()
getValidator
in class HttpValidatorTagSupport
public void setName(String name)
name
- cookie name to look forpublic void setValue(String value)
value
- cookie valuepublic void setCond(boolean cond)
cond
- true if the cookie is epected, false otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |