public class ServiceSessionCookie extends APIBean
| Constructor and Description |
|---|
ServiceSessionCookie()
Default constructor.
|
ServiceSessionCookie(java.lang.String cookieName,
java.lang.String cookieValue)
Constructor used by the implementation
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCookieName()
Returns the cookie cookieName
|
java.lang.String |
getCookieValue()
Returns the cookie cookieValue
|
long |
getCreation()
Returns the creation date
|
java.lang.String |
getDomain()
Returns the domain
|
long |
getExpiry()
Returns the expiration date in milis
|
java.lang.String |
getPath()
Returns the path
|
java.lang.String |
getScheme()
Returns the scheme
|
boolean |
getSecure()
Returns whether the cookie is secure or not
|
void |
setCookieName(java.lang.String cookieName)
Set the cookie cookieName
|
void |
setCookieValue(java.lang.String cookieValue)
Set the cookie cookieValue
|
void |
setCreation(long creation)
Sets the creation date
|
void |
setDomain(java.lang.String domain)
Set the domain
|
void |
setExpiry(long expiry)
Set the expiration date in milis
|
void |
setPath(java.lang.String path)
Set the path
|
void |
setScheme(java.lang.String scheme)
Set the scheme
|
void |
setSecure(boolean secure)
Set whether the cookie is secure or not
|
public ServiceSessionCookie()
public ServiceSessionCookie(java.lang.String cookieName,
java.lang.String cookieValue)
cookieName - Name of the cookiecookieValue - Value of the cookiepublic java.lang.String getCookieName()
public void setCookieName(java.lang.String cookieName)
cookieName - Name of the cookiepublic java.lang.String getCookieValue()
public void setCookieValue(java.lang.String cookieValue)
cookieValue - Value of the cookiepublic long getCreation()
public void setCreation(long creation)
creation - Creation date of the cookiepublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - Domain of the cookiepublic long getExpiry()
public void setExpiry(long expiry)
expiry - Expiration date of the cookiepublic java.lang.String getPath()
public void setPath(java.lang.String path)
path - Path of the cookiepublic java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
scheme - Scheme of the cookiepublic boolean getSecure()
public void setSecure(boolean secure)
secure - Privacy of the cookie