|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.seraph.cookie.DefaultCookieHandler
RememberMeService code
public class DefaultCookieHandler
| Constructor Summary | |
|---|---|
DefaultCookieHandler()
Deprecated. |
|
| Method Summary | |
|---|---|
javax.servlet.http.Cookie |
getCookie(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Deprecated. Returns the specified Cookie object, or null if the cookie does not exist. |
java.lang.String |
getCookieValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Deprecated. Returns the value of the specified cookie as a String. |
void |
invalidateCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String cookieName,
java.lang.String path)
Deprecated. Invalidate the specified cookie and delete it from the response object. |
javax.servlet.http.Cookie |
setCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name,
java.lang.String value,
int maxAge,
java.lang.String path)
Deprecated. Sets a cookie This will also put the cookie in a list of cookies to send with this request's response (so that in case of a redirect occurring down the chain, the first filter will always try to set this cookie again) The cookie secure flag is set if the request is secure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCookieHandler()
| Method Detail |
|---|
public void invalidateCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String cookieName,
java.lang.String path)
CookieHandler
invalidateCookie in interface CookieHandlerresponse - The HttpServletResponse object, known as "response" in a JSP page.cookieName - The name of the cookie you want to delete.path - of the path the cookie you want to delete.
public javax.servlet.http.Cookie getCookie(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
CookieHandler
getCookie in interface CookieHandlerrequest - The HttpServletRequest object, known as "request" in a
JSP page.name - the name of the cookie.
public javax.servlet.http.Cookie setCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name,
java.lang.String value,
int maxAge,
java.lang.String path)
CookieHandler
setCookie in interface CookieHandler
public java.lang.String getCookieValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
CookieHandler
getCookieValue in interface CookieHandlerrequest - the HttpServletRequest object, known as "request" in a
JSP page.name - the name of the cookie
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||