|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jsfunit.context.JSFUnitHttpSession
public class JSFUnitHttpSession
This HttpSession delegates everything to the real HttpSession except for the invalidate method. For that, it will clear the session of all attributes except those used by the JSFUnit framework. It will not actually destroy the session.
Method Summary | |
---|---|
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated. |
Object |
getValue(String name)
Deprecated. |
String[] |
getValueNames()
Deprecated. |
void |
invalidate()
Instead of invalidating the session, clear all attributes except those used by JSFUnit. |
boolean |
isNew()
|
void |
putValue(String name,
Object value)
Deprecated. |
void |
removeAttribute(String name)
|
void |
removeValue(String name)
Deprecated. |
void |
setAttribute(String name,
Object value)
|
void |
setMaxInactiveInterval(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
@Deprecated public String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int i)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
@Deprecated public void removeValue(String name)
removeValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public Object getAttribute(String name)
getAttribute
in interface javax.servlet.http.HttpSession
@Deprecated public Object getValue(String name)
getValue
in interface javax.servlet.http.HttpSession
public void setAttribute(String name, Object value)
setAttribute
in interface javax.servlet.http.HttpSession
@Deprecated public void putValue(String name, Object value)
putValue
in interface javax.servlet.http.HttpSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |