public class MockSessionCookieConfig extends Object implements SessionCookieConfig
SessionCookieConfig
interface.ServletContext.getSessionCookieConfig()
Constructor and Description |
---|
MockSessionCookieConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
String |
getDomain() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
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) |
public void setName(String name)
setName
in interface SessionCookieConfig
public String getName()
getName
in interface SessionCookieConfig
public void setDomain(String domain)
setDomain
in interface SessionCookieConfig
public String getDomain()
getDomain
in interface SessionCookieConfig
public void setPath(String path)
setPath
in interface SessionCookieConfig
public String getPath()
getPath
in interface SessionCookieConfig
public void setComment(String comment)
setComment
in interface SessionCookieConfig
public String getComment()
getComment
in interface SessionCookieConfig
public void setHttpOnly(boolean httpOnly)
setHttpOnly
in interface SessionCookieConfig
public boolean isHttpOnly()
isHttpOnly
in interface SessionCookieConfig
public void setSecure(boolean secure)
setSecure
in interface SessionCookieConfig
public boolean isSecure()
isSecure
in interface SessionCookieConfig
public void setMaxAge(int maxAge)
setMaxAge
in interface SessionCookieConfig
public int getMaxAge()
getMaxAge
in interface SessionCookieConfig