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(@Nullable String name)
setName
in interface SessionCookieConfig
@Nullable public String getName()
getName
in interface SessionCookieConfig
public void setDomain(@Nullable String domain)
setDomain
in interface SessionCookieConfig
@Nullable public String getDomain()
getDomain
in interface SessionCookieConfig
public void setPath(@Nullable String path)
setPath
in interface SessionCookieConfig
@Nullable public String getPath()
getPath
in interface SessionCookieConfig
public void setComment(@Nullable String comment)
setComment
in interface SessionCookieConfig
@Nullable 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