public class QuercusCookieImpl extends java.lang.Object implements QuercusCookie
Constructor and Description |
---|
QuercusCookieImpl(Cookie cookie) |
QuercusCookieImpl(java.lang.String name,
java.lang.String sessionId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getValue() |
void |
setDomain(java.lang.String domain) |
void |
setHttpOnly(boolean isHttpOnly) |
void |
setMaxAge(int maxAge) |
void |
setPath(java.lang.String path) |
void |
setSecure(boolean isSecure) |
void |
setVersion(int version) |
<T> T |
toCookie(java.lang.Class<T> cls) |
public QuercusCookieImpl(Cookie cookie)
public QuercusCookieImpl(java.lang.String name, java.lang.String sessionId)
public java.lang.String getName()
getName
in interface QuercusCookie
public java.lang.String getValue()
getValue
in interface QuercusCookie
public void setVersion(int version)
setVersion
in interface QuercusCookie
public void setPath(java.lang.String path)
setPath
in interface QuercusCookie
public void setMaxAge(int maxAge)
setMaxAge
in interface QuercusCookie
public void setDomain(java.lang.String domain)
setDomain
in interface QuercusCookie
public void setSecure(boolean isSecure)
setSecure
in interface QuercusCookie
public void setHttpOnly(boolean isHttpOnly)
setHttpOnly
in interface QuercusCookie
public <T> T toCookie(java.lang.Class<T> cls)
toCookie
in interface QuercusCookie