|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.servlet.test.MockHttpSession
public class MockHttpSession
| Constructor Summary | |
|---|---|
MockHttpSession()
Constructor. |
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
|
Enumeration<String> |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSessionContext |
getSessionContext()
|
Object |
getValue(String name)
|
String[] |
getValueNames()
|
void |
invalidate()
|
boolean |
isNew()
|
void |
putValue(String name,
Object value)
|
void |
removeAttribute(String name)
|
void |
removeValue(String name)
|
void |
setAttribute(String name,
Object value)
|
void |
setMaxInactiveInterval(int interval)
|
| 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 Object getAttribute(String name)
getAttribute in interface javax.servlet.http.HttpSessionHttpSession.getAttribute(java.lang.String)public Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionHttpSession.getAttributeNames()public long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionHttpSession.getCreationTime()public String getId()
getId in interface javax.servlet.http.HttpSessionHttpSession.getId()public long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionHttpSession.getLastAccessedTime()public int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionHttpSession.getMaxInactiveInterval()public javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionHttpSession.getServletContext()public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionHttpSession.getSessionContext()public Object getValue(String name)
getValue in interface javax.servlet.http.HttpSessionHttpSession.getValue(java.lang.String)public String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionHttpSession.getValueNames()public void invalidate()
invalidate in interface javax.servlet.http.HttpSessionHttpSession.invalidate()public boolean isNew()
isNew in interface javax.servlet.http.HttpSessionHttpSession.isNew()
public void putValue(String name,
Object value)
putValue in interface javax.servlet.http.HttpSessionHttpSession.putValue(java.lang.String, java.lang.Object)public void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionHttpSession.removeAttribute(java.lang.String)public void removeValue(String name)
removeValue in interface javax.servlet.http.HttpSessionHttpSession.removeValue(java.lang.String)
public void setAttribute(String name,
Object value)
setAttribute in interface javax.servlet.http.HttpSessionHttpSession.setAttribute(java.lang.String, java.lang.Object)public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionHttpSession.setMaxInactiveInterval(int)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||