public interface SessionCookieConfig
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
java.lang.String |
getDomain() |
int |
getMaxAge() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
void |
setComment(java.lang.String comment)
Sets the comment for the session cookie
|
void |
setDomain(java.lang.String domain)
Sets the domain for the session cookie
|
void |
setHttpOnly(boolean httpOnly)
Sets the httpOnly flag for the session cookie.
|
void |
setMaxAge(int MaxAge)
Sets the maximum age.
|
void |
setName(java.lang.String name)
Sets the session cookie name.
|
void |
setPath(java.lang.String path)
Sets the path of the session cookie.
|
void |
setSecure(boolean secure)
Sets the secure flag for the session cookie.
|
void setName(java.lang.String name)
name
- The name of the session cookiejava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedjava.lang.String getName()
void setDomain(java.lang.String domain)
domain
- The session cookie domainjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedjava.lang.String getDomain()
void setPath(java.lang.String path)
path
- The session cookie pathjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedjava.lang.String getPath()
void setComment(java.lang.String comment)
comment
- The session cookie commentjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedjava.lang.String getComment()
void setHttpOnly(boolean httpOnly)
httpOnly
- The httpOnly setting to use for session cookiesjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedboolean isHttpOnly()
void setSecure(boolean secure)
secure
- The secure setting to use for session cookiesjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedboolean isSecure()
void setMaxAge(int MaxAge)
MaxAge
- the maximum age to setjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedint getMaxAge()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.