public class SessionCookie extends Object implements javax.servlet.SessionCookieConfig, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
domain |
protected boolean |
httpOnly |
protected int |
maxAge |
protected String |
name |
protected String |
path |
protected String |
pathParameterName |
protected boolean |
secure |
| Constructor and Description |
|---|
SessionCookie() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getDomain() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getPathParameterName() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
void |
setComment(String comment) |
void |
setDomain(String domain) |
void |
setHttpOnly(boolean httpOnly) |
void |
setMaxAge(int maxAge) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setSecure(boolean secure) |
protected String domain
protected String path
protected String comment
protected boolean httpOnly
protected boolean secure
protected int maxAge
protected String name
protected String pathParameterName
public String getDomain()
getDomain in interface javax.servlet.SessionCookieConfigpublic String getPath()
getPath in interface javax.servlet.SessionCookieConfigpublic String getComment()
getComment in interface javax.servlet.SessionCookieConfigpublic boolean isHttpOnly()
isHttpOnly in interface javax.servlet.SessionCookieConfigpublic boolean isSecure()
isSecure in interface javax.servlet.SessionCookieConfigpublic void setDomain(String domain)
setDomain in interface javax.servlet.SessionCookieConfigpublic void setPath(String path)
setPath in interface javax.servlet.SessionCookieConfigpublic void setComment(String comment)
setComment in interface javax.servlet.SessionCookieConfigpublic void setHttpOnly(boolean httpOnly)
setHttpOnly in interface javax.servlet.SessionCookieConfigpublic void setSecure(boolean secure)
setSecure in interface javax.servlet.SessionCookieConfigpublic int getMaxAge()
getMaxAge in interface javax.servlet.SessionCookieConfigpublic void setMaxAge(int maxAge)
setMaxAge in interface javax.servlet.SessionCookieConfigpublic String getName()
getName in interface javax.servlet.SessionCookieConfigpublic void setName(String name)
setName in interface javax.servlet.SessionCookieConfigpublic String getPathParameterName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.