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) long
getId()
long
int
ServletContext
HttpSessionContext
String[]
void
boolean
isNew()
void
void
removeAttribute
(String anAttributeName) void
removeValue
(String arg1) void
setAttribute
(String aKey, Object aValue) void
setExpectedAttribute
(String aKey, Object aValue) void
setExpectedRemoveAttribute
(String anAttributeName) void
setMaxInactiveInterval
(int arg1) void
setupGetAttribute
(String key, Object value) void
setupGetAttributeNames
(Enumeration attributeNames) void
setupServletContext
(ServletContext servletContext) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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)
-