Package com.mockobjects.servlet
Class MockHttpSession
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.servlet.MockHttpSession
- All Implemented Interfaces:
Verifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String anAttributeName) longgetId()longintServletContextHttpSessionContextString[]voidbooleanisNew()voidvoidremoveAttribute(String anAttributeName) voidremoveValue(String arg1) voidsetAttribute(String aKey, Object aValue) voidsetExpectedAttribute(String aKey, Object aValue) voidsetExpectedRemoveAttribute(String anAttributeName) voidsetMaxInactiveInterval(int arg1) voidsetupGetAttribute(String key, Object value) voidsetupGetAttributeNames(Enumeration attributeNames) voidsetupServletContext(ServletContext servletContext) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mockobjects.Verifiable
verify
-
Constructor Details
-
MockHttpSession
public MockHttpSession()
-
-
Method Details
-
getAttribute
-
setupGetAttributeNames
-
getAttributeNames
-
getCreationTime
public long getCreationTime() -
getId
-
getLastAccessedTime
public long getLastAccessedTime() -
getMaxInactiveInterval
public int getMaxInactiveInterval() -
getSessionContext
public HttpSessionContext getSessionContext() -
setupServletContext
public void setupServletContext(ServletContext servletContext) -
getServletContext
public ServletContext getServletContext() -
getValue
-
getValueNames
-
invalidate
public void invalidate() -
isNew
public boolean isNew() -
putValue
-
setExpectedRemoveAttribute
-
removeAttribute
-
removeValue
-
setupGetAttribute
-
setAttribute
-
setExpectedAttribute
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int arg1)
-