com.mockobjects.servlet
Class MockHttpSession
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.servlet.MockHttpSession
- All Implemented Interfaces:
- Verifiable
- public class MockHttpSession
- extends MockObject
- implements Verifiable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHttpSession
public MockHttpSession()
getAttribute
public java.lang.Object getAttribute(java.lang.String anAttributeName)
setupGetAttributeNames
public void setupGetAttributeNames(java.util.Enumeration attributeNames)
getAttributeNames
public java.util.Enumeration getAttributeNames()
getCreationTime
public long getCreationTime()
getId
public java.lang.String getId()
getLastAccessedTime
public long getLastAccessedTime()
getMaxInactiveInterval
public int getMaxInactiveInterval()
getSessionContext
public HttpSessionContext getSessionContext()
setupServletContext
public void setupServletContext(ServletContext servletContext)
getServletContext
public ServletContext getServletContext()
getValue
public java.lang.Object getValue(java.lang.String arg1)
getValueNames
public java.lang.String[] getValueNames()
invalidate
public void invalidate()
isNew
public boolean isNew()
putValue
public void putValue(java.lang.String arg1,
java.lang.Object arg2)
setExpectedRemoveAttribute
public void setExpectedRemoveAttribute(java.lang.String anAttributeName)
removeAttribute
public void removeAttribute(java.lang.String anAttributeName)
removeValue
public void removeValue(java.lang.String arg1)
setupGetAttribute
public void setupGetAttribute(java.lang.String key,
java.lang.Object value)
setAttribute
public void setAttribute(java.lang.String aKey,
java.lang.Object aValue)
setExpectedAttribute
public void setExpectedAttribute(java.lang.String aKey,
java.lang.Object aValue)
setMaxInactiveInterval
public void setMaxInactiveInterval(int arg1)
Copyright © 2002 Mock Objects. All Rights Reserved.