public static class CookieSerializer.CookieValue
extends java.lang.Object
HttpServletResponse.| Modifier and Type | Method and Description |
|---|---|
int |
getCookieMaxAge()
Get the cookie max age.
|
java.lang.String |
getCookieValue()
The value to be written.
|
javax.servlet.http.HttpServletRequest |
getRequest()
Gets the request to use.
|
javax.servlet.http.HttpServletResponse |
getResponse()
Gets the response to write to.
|
void |
setCookieMaxAge(int cookieMaxAge)
Set the cookie max age.
|
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public java.lang.String getCookieValue()
CookieSerializer before written to the cookie. However, the value must
be the same as the original when it is read back in.public int getCookieMaxAge()
public void setCookieMaxAge(int cookieMaxAge)
cookieMaxAge - the cookie max age