public interface SessionCookieConfig
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the comment assigned to session tracking cookies for this
context.
|
java.lang.String |
getDomain()
Return the cookie domain assigned to session tracking for this context.
|
int |
getMaxAge()
Returns the lifetime in seconds for session tracking cookies for this
context.
|
java.lang.String |
getName()
Returns the cookie name assigned to session tracking for this
context.
|
java.lang.String |
getPath()
Returns the cookie path assigned to session tracking for this context.
|
boolean |
isHttpOnly()
Indicates whether session tracking cookies for this context are HTTP
only.
|
boolean |
isSecure()
Indicates whether session tracking cookies for this context are
secure.
|
void |
setComment(java.lang.String s)
Sets the comment assigned to session tracking cookies for this context.
|
void |
setDomain(java.lang.String s)
Sets the cookie domain assigned to session tracking for this context.
|
void |
setHttpOnly(boolean httpOnly)
Marks session tracking cookies for this context as HTTP only.
|
void |
setMaxAge(int maxAge)
Sets the lifetime in seconds for session tracking cookies for this
context.
|
void |
setName(java.lang.String name)
Set the cookie name assigned to session tracking for this context.
|
void |
setPath(java.lang.String s)
Sets the cookie path assigned to session tracking for this context.
|
void |
setSecure(boolean secure)
Marks session tracking cookies for this context as secure.
|
void setName(java.lang.String name)
getName()
java.lang.String getName()
JSESSIONID
.setName(java.lang.String)
void setDomain(java.lang.String s)
getDomain()
java.lang.String getDomain()
null
.setDomain(java.lang.String)
void setPath(java.lang.String s)
getPath()
java.lang.String getPath()
getPath()
void setComment(java.lang.String s)
getComment()
java.lang.String getComment()
null
.setComment(java.lang.String)
void setHttpOnly(boolean httpOnly)
isHttpOnly()
boolean isHttpOnly()
setHttpOnly(boolean)
void setSecure(boolean secure)
isSecure()
boolean isSecure()
setSecure(boolean)
void setMaxAge(int maxAge)
getMaxAge()
int getMaxAge()
setMaxAge(int)