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