| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.test.PageTesterSession
public class PageTesterSession
| Constructor Summary | |
|---|---|
| PageTesterSession() | |
| Method Summary | |
|---|---|
|  Object | getAttribute(String name)Returns the value previously stored in the session. | 
|  List<String> | getAttributeNames()Returns a list of the names of all attributes stored in the session. | 
|  List<String> | getAttributeNames(String prefix)Returns a list of the names of all attributes stored in the session whose name has the provided prefix. | 
|  int | getMaxInactiveInterval()Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses. | 
|  void | invalidate()Invalidates this session then unbinds any objects bound to it. | 
|  boolean | isInvalidated()Checks to see if the session has been invalidated. | 
|  void | restoreDirtyObjects()Re-stores dirty objects back into the session. | 
|  void | setAttribute(String name,
                         Object value)Sets the value of an attribute. | 
|  void | setMaxInactiveInterval(int seconds)Specifies the time, in seconds, between client requests before the servlet container will invalidate this session. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PageTesterSession()
| Method Detail | 
|---|
public List<String> getAttributeNames()
Session
getAttributeNames in interface Sessionpublic List<String> getAttributeNames(String prefix)
Session
getAttributeNames in interface Sessionpublic Object getAttribute(String name)
Session
getAttribute in interface Session
public void setAttribute(String name,
                         Object value)
Session
setAttribute in interface Sessionpublic int getMaxInactiveInterval()
Session
getMaxInactiveInterval in interface Sessionpublic void invalidate()
Session
invalidate in interface Sessionpublic boolean isInvalidated()
SessionHttpSession.invalidate().
isInvalidated in interface Sessionpublic void restoreDirtyObjects()
Session
restoreDirtyObjects in interface SessionOptimizedSessionPersistedObject, 
OptimizedSessionPersistedObjectAnalyzer, 
ImmutableSessionPersistedObjectpublic void setMaxInactiveInterval(int seconds)
Session
setMaxInactiveInterval in interface Session| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||