Package org.springframework.mock.web
Class MockSessionCookieConfig
java.lang.Object
org.springframework.mock.web.MockSessionCookieConfig
- All Implemented Interfaces:
- SessionCookieConfig
Mock implementation of the 
SessionCookieConfig interface.- Since:
- 4.0
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String name) intgetName()getPath()booleanbooleanisSecure()voidsetAttribute(String name, String value) voidsetComment(String comment) voidvoidsetHttpOnly(boolean httpOnly) voidsetMaxAge(int maxAge) voidvoidvoidsetSecure(boolean secure) 
- 
Constructor Details- 
MockSessionCookieConfigpublic MockSessionCookieConfig()
 
- 
- 
Method Details- 
setName- Specified by:
- setNamein interface- SessionCookieConfig
 
- 
getName- Specified by:
- getNamein interface- SessionCookieConfig
 
- 
setDomain- Specified by:
- setDomainin interface- SessionCookieConfig
 
- 
getDomain- Specified by:
- getDomainin interface- SessionCookieConfig
 
- 
setPath- Specified by:
- setPathin interface- SessionCookieConfig
 
- 
getPath- Specified by:
- getPathin interface- SessionCookieConfig
 
- 
setComment- Specified by:
- setCommentin interface- SessionCookieConfig
 
- 
getComment- Specified by:
- getCommentin interface- SessionCookieConfig
 
- 
setHttpOnlypublic void setHttpOnly(boolean httpOnly) - Specified by:
- setHttpOnlyin interface- SessionCookieConfig
 
- 
isHttpOnlypublic boolean isHttpOnly()- Specified by:
- isHttpOnlyin interface- SessionCookieConfig
 
- 
setSecurepublic void setSecure(boolean secure) - Specified by:
- setSecurein interface- SessionCookieConfig
 
- 
isSecurepublic boolean isSecure()- Specified by:
- isSecurein interface- SessionCookieConfig
 
- 
setMaxAgepublic void setMaxAge(int maxAge) - Specified by:
- setMaxAgein interface- SessionCookieConfig
 
- 
getMaxAgepublic int getMaxAge()- Specified by:
- getMaxAgein interface- SessionCookieConfig
 
- 
setAttribute- Specified by:
- setAttributein interface- SessionCookieConfig
 
- 
getAttribute- Specified by:
- getAttributein interface- SessionCookieConfig
 
- 
getAttributes- Specified by:
- getAttributesin interface- SessionCookieConfig
 
 
-