public interface SessionCookieConfig
| Modifier and Type | Method and Description | 
|---|---|
| String | getComment() | 
| String | getDomain() | 
| int | getMaxAge() | 
| String | getName() | 
| String | getPath() | 
| boolean | isHttpOnly() | 
| boolean | isSecure() | 
| void | setComment(String comment)Sets the comment for the session cookie | 
| void | setDomain(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(String name)Sets the session cookie name. | 
| void | setPath(String path)Sets the path of the session cookie. | 
| void | setSecure(boolean secure)Sets the secure flag for the session cookie. | 
void setName(String name)
name - The name of the session cookieIllegalStateException - if the associated ServletContext has
         already been initialisedString getName()
void setDomain(String domain)
domain - The session cookie domainIllegalStateException - if the associated ServletContext has
         already been initialisedString getDomain()
void setPath(String path)
path - The session cookie pathIllegalStateException - if the associated ServletContext has
         already been initialisedString getPath()
void setComment(String comment)
comment - The session cookie commentIllegalStateException - if the associated ServletContext has
         already been initialisedString getComment()
void setHttpOnly(boolean httpOnly)
httpOnly - The httpOnly setting to use for session cookiesIllegalStateException - if the associated ServletContext has
         already been initialisedboolean isHttpOnly()
void setSecure(boolean secure)
secure - The secure setting to use for session cookiesIllegalStateException - if the associated ServletContext has
         already been initialisedboolean isSecure()
void setMaxAge(int MaxAge)
MaxAge - the maximum age to setIllegalStateException - if the associated ServletContext has
         already been initialisedint getMaxAge()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.