Package com.jalios.servlet.http
Class MockSessionCookieConfig
- java.lang.Object
-
- com.jalios.servlet.http.MockSessionCookieConfig
-
- All Implemented Interfaces:
javax.servlet.SessionCookieConfig
public class MockSessionCookieConfig extends java.lang.Object implements javax.servlet.SessionCookieConfig
Mock implementation of theSessionCookieConfig
interface.
-
-
Constructor Summary
Constructors Constructor Description MockSessionCookieConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfacejavax.servlet.SessionCookieConfig
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacejavax.servlet.SessionCookieConfig
-
setDomain
public void setDomain(java.lang.String domain)
- Specified by:
setDomain
in interfacejavax.servlet.SessionCookieConfig
-
getDomain
public java.lang.String getDomain()
- Specified by:
getDomain
in interfacejavax.servlet.SessionCookieConfig
-
setPath
public void setPath(java.lang.String path)
- Specified by:
setPath
in interfacejavax.servlet.SessionCookieConfig
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfacejavax.servlet.SessionCookieConfig
-
setComment
public void setComment(java.lang.String comment)
- Specified by:
setComment
in interfacejavax.servlet.SessionCookieConfig
-
getComment
public java.lang.String getComment()
- Specified by:
getComment
in interfacejavax.servlet.SessionCookieConfig
-
setHttpOnly
public void setHttpOnly(boolean httpOnly)
- Specified by:
setHttpOnly
in interfacejavax.servlet.SessionCookieConfig
-
isHttpOnly
public boolean isHttpOnly()
- Specified by:
isHttpOnly
in interfacejavax.servlet.SessionCookieConfig
-
setSecure
public void setSecure(boolean secure)
- Specified by:
setSecure
in interfacejavax.servlet.SessionCookieConfig
-
isSecure
public boolean isSecure()
- Specified by:
isSecure
in interfacejavax.servlet.SessionCookieConfig
-
setMaxAge
public void setMaxAge(int maxAge)
- Specified by:
setMaxAge
in interfacejavax.servlet.SessionCookieConfig
-
getMaxAge
public int getMaxAge()
- Specified by:
getMaxAge
in interfacejavax.servlet.SessionCookieConfig
-
-