Constructor and Description |
---|
Cookie() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
void |
release() |
void |
setDomain(String domain)
set the value domain
|
void |
setEncode(boolean encode) |
void |
setEncodevalue(boolean encode) |
void |
setExpires(Object expires)
set the value expires
Schedules the expiration of a cookie variable.
|
void |
setExpires(String expires)
Deprecated.
replaced with setExpires(Object expires):void
|
void |
setHttponly(boolean httponly) |
void |
setName(String name)
set the value name
The name of the cookie variable.
|
void |
setPath(String path)
set the value path
|
void |
setPreservecase(boolean preservecase) |
void |
setSecure(boolean secure)
set the value secure
Yes or No.
|
void |
setValue(String value)
set the value value
The value assigned to the cookie variable.
|
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Cookie()
public void release()
public void setSecure(boolean secure)
secure
- value to setpublic void setValue(String value)
value
- value to setpublic void setDomain(String domain)
domain
- value to setpublic void setExpires(Object expires)
expires
- value to setpublic void setExpires(String expires)
expires
- value to setpublic void setName(String name)
name
- value to setpublic void setHttponly(boolean httponly)
public void setPreservecase(boolean preservecase)
public void setEncodevalue(boolean encode)
public void setEncode(boolean encode)
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Copyright © 2015 Lucee