Package javax.servlet
Interface SessionCookieConfig
-
- All Known Implementing Classes:
DefaultHttpSessionManager
,HazelcastHttpSessionManager
public interface SessionCookieConfig
The SessionCookieConfig API.- Author:
- Manfred Riem ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getComment()
Get the comment.String
getDomain()
Get the domain.int
getMaxAge()
Get the max age.String
getName()
Get the name.String
getPath()
Get the path.boolean
isHttpOnly()
Is HTTP-only.boolean
isSecure()
Is secure.void
setComment(String comment)
Set the comment.void
setDomain(String domain)
Set the domain.void
setHttpOnly(boolean httpOnly)
Set the HTTP-only flag.void
setMaxAge(int maxAge)
Set the max age.void
setName(String name)
Set the name.void
setPath(String path)
Set the path.void
setSecure(boolean secure)
Set the secure flag.
-
-
-
Method Detail
-
getComment
String getComment()
Get the comment.- Returns:
- the comment.
-
getDomain
String getDomain()
Get the domain.- Returns:
- the domain.
-
getMaxAge
int getMaxAge()
Get the max age.- Returns:
- the max age.
-
getName
String getName()
Get the name.- Returns:
- the name.
-
getPath
String getPath()
Get the path.- Returns:
- the path.
-
isHttpOnly
boolean isHttpOnly()
Is HTTP-only.- Returns:
- true if it is HTTP-only, false otherwise.
-
isSecure
boolean isSecure()
Is secure.- Returns:
- true if it is secure, false otherwise.
-
setComment
void setComment(String comment)
Set the comment.- Parameters:
comment
- the comment.
-
setDomain
void setDomain(String domain)
Set the domain.- Parameters:
domain
- the domain.
-
setHttpOnly
void setHttpOnly(boolean httpOnly)
Set the HTTP-only flag.- Parameters:
httpOnly
- the HTTP-only flag.
-
setMaxAge
void setMaxAge(int maxAge)
Set the max age.- Parameters:
maxAge
- the max age.
-
setName
void setName(String name)
Set the name.- Parameters:
name
- the name.
-
setPath
void setPath(String path)
Set the path.- Parameters:
path
- the path.
-
setSecure
void setSecure(boolean secure)
Set the secure flag.- Parameters:
secure
- the secure flag.
-
-