public class SessionCookie extends Cookie
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COOKIE_NAME |
RAW_COOKIE_DELIMITER, RAW_COOKIE_SPLIT_DELIMITER| Constructor and Description |
|---|
SessionCookie(javax.servlet.http.Cookie cookie)
Constructs new SessionCookie object from the given cookie.
|
SessionCookie(java.lang.String sessionId)
Constructs new SessionCookie with the given session ID.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSessionId()
Gets the session id.
|
formatCookie, getCookiepublic static final java.lang.String COOKIE_NAME
public SessionCookie(javax.servlet.http.Cookie cookie)
cookie - The http servlet cookie.public SessionCookie(java.lang.String sessionId)
sessionId - The session ID.