public class CookieTag extends HttpValidatorTagSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
_cond |
protected static org.apache.log4j.Category |
_log |
protected java.lang.String |
_name |
protected java.lang.String |
_value |
_label, _listener, _response
Constructor and Description |
---|
CookieTag() |
Modifier and Type | Method and Description |
---|---|
Validator |
getValidator() |
void |
setCond(boolean cond)
sets whether or not this cookie is expected
|
void |
setName(java.lang.String name)
Setter the cookie name.
|
void |
setValue(java.lang.String value)
Set the cookie value
|
doTag, getResponse, init, setLabel, validate
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
protected boolean _cond
protected java.lang.String _name
protected java.lang.String _value
protected static final org.apache.log4j.Category _log
public Validator getValidator()
getValidator
in class HttpValidatorTagSupport
public void setName(java.lang.String name)
name
- cookie name to look forpublic void setValue(java.lang.String value)
value
- cookie valuepublic void setCond(boolean cond)
cond
- true if the cookie is epected, false otherwiseCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.