|
eXo WS :: HTTP :: testframework 2.4.0-Alpha2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.services.test.mock.MockHttpSession
public class MockHttpSession
The Class MockHttpSession.
| Constructor Summary | |
|---|---|
MockHttpSession()
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String s)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSessionContext |
getSessionContext()
|
Object |
getValue(String s)
|
String[] |
getValueNames()
|
void |
invalidate()
|
boolean |
isNew()
|
boolean |
isValid()
Checks if is valid. |
void |
putValue(String s,
Object o)
|
void |
removeAttribute(String s)
|
void |
removeValue(String s)
|
void |
setAttribute(String s,
Object o)
|
void |
setMaxInactiveInterval(int i)
|
void |
setValid(boolean isValid)
Sets the valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockHttpSession()
| Method Detail |
|---|
public long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionpublic String getId()
getId in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int i)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic Object getAttribute(String s)
getAttribute in interface javax.servlet.http.HttpSessionpublic Object getValue(String s)
getValue in interface javax.servlet.http.HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSession
public void setAttribute(String s,
Object o)
setAttribute in interface javax.servlet.http.HttpSession
public void putValue(String s,
Object o)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String s)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(String s)
removeValue in interface javax.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSessionpublic boolean isValid()
public void setValid(boolean isValid)
isValid - the new valid
|
eXo WS :: HTTP :: testframework 2.4.0-Alpha2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||