public class HfgCookie extends javax.servlet.http.Cookie
Constructor and Description |
---|
HfgCookie(javax.servlet.http.Cookie inCookie) |
HfgCookie(String inName,
String inValue) |
Modifier and Type | Method and Description |
---|---|
String |
getDecodedValue() |
Date |
getExpires() |
static List<HfgCookie> |
parse(String inSetCookieValue)
Returns one or more cookies from an http response's "Set-Cookie" or
"Set-Cookie2" header field.
|
HfgCookie |
setExpires(Date inValue) |
void |
setValue(String inValue) |
String |
toString() |
public HfgCookie(javax.servlet.http.Cookie inCookie)
public static List<HfgCookie> parse(String inSetCookieValue)
inSetCookieValue
- the value of the "Set-Cookie" or "Set-Cookie2" headerpublic void setValue(String inValue)
setValue
in class javax.servlet.http.Cookie
public HfgCookie setExpires(Date inValue)
public Date getExpires()
public String getDecodedValue()
jataylor@hairyfatguy.com