Package org.eclipse.jetty.server.session
Jetty Server : Session Management Implementations
-
Interface Summary Interface Description Foo FooSessionCache SessionCache A working set ofSessionobjects for a context.SessionCacheFactory SessionCacheFactorySessionDataMap SessionDataMap A map style access to SessionData keyed by the session id.SessionDataMapFactory SessionDataMapFactorySessionDataStore SessionDataStore A store for the data contained in a Session object.SessionDataStoreFactory SessionDataStoreFactorySessionHandler.SessionIf SessionIf Interface that any session wrapper should implement so that SessionManager may access the Jetty session implementation. -
Class Summary Class Description AbstractClusteredInvalidationSessionTest AbstractClusteredInvalidationSessionTest Goal of the test is to be sure that invalidating a session on one node result in the session being unavailable in the other node also.AbstractClusteredInvalidationSessionTest.TestServlet AbstractClusteredOrphanedSessionTest AbstractClusteredOrphanedSessionTest Mimic node1 creating a session then crashing.AbstractClusteredOrphanedSessionTest.TestServlet AbstractClusteredSessionScavengingTest AbstractClusteredSessionScavengingTest Test that a session that was live on node1, but then more recently used on node2 does not expire over on node1.AbstractClusteredSessionScavengingTest.TestServlet AbstractClusteredSessionScavengingTest.TestSessionListener AbstractSessionCache AbstractSessionCache A base implementation of theSessionCacheinterface for managing a set of Session objects pertaining to a context in memory.AbstractSessionCacheFactory AbstractSessionCacheFactory Base class for SessionCacheFactories.AbstractSessionDataStore AbstractSessionDataStoreAbstractSessionDataStoreFactory AbstractSessionDataStoreFactoryAbstractSessionDataStoreTest AbstractSessionDataStoreTestAbstractTestBase AbstractTestBaseAbstractWebAppObjectInSessionTest AbstractWebAppObjectInSessionTest Target of this test is to check that when a webapp on nodeA puts in the session an object of a class loaded from the war (and hence with a WebAppClassLoader), the same webapp on nodeB is able to load that object from the session.CachingSessionDataStore CachingSessionDataStore A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.CachingSessionDataStoreFactory CachingSessionDataStoreFactoryDatabaseAdaptor DatabaseAdaptor Handles differences between databases.DefaultSessionCache DefaultSessionCache A session store that keeps its sessions in memory in a hashmapDefaultSessionCacheFactory DefaultSessionCacheFactory Factory for creating new DefaultSessionCaches.DefaultSessionIdManager DefaultSessionIdManager Manages session ids to ensure each session id within a context is unique, and that session ids can be shared across contexts (but not session contents).FileSessionDataStore FileSessionDataStore A file-based store of session data.FileSessionDataStoreFactory FileSessionDataStoreFactoryFooInvocationHandler ProxiableSessionAttributeObjectInvocationHandlerHouseKeeper HouseKeeper There is 1 session HouseKeeper per SessionIdManager instance.JDBCSessionDataStore JDBCSessionDataStore Session data stored in databaseJDBCSessionDataStore.SessionTableSchema SessionTableSchemaJDBCSessionDataStoreFactory JDBCSessionDataStoreFactoryNullSessionCache NullSessionCache Does not actually cache any Session objects.NullSessionCacheFactory NullSessionCacheFactory Factory for NullSessionCaches.NullSessionDataStore NullSessionDataStore Does not actually store anything, useful for testing.NullSessionDataStoreFactory NullSessionDataStoreFactorySession Session A heavy-weight Session object representing an HttpSession.SessionContext SessionContext Information about the context to which sessions belong: the Context, the SessionHandler of the context, and the unique name of the node.SessionData SessionData The data associated with a session.SessionHandler SessionHandler.TestFoo TestFooTestHttpChannelCompleteListener TestHttpSessionListener TestSessionListenerTestHttpSessionListenerWithWebappClasses TestHttpSessionListenerWithWebappClasses A session listener class that checks that sessionDestroyed events can reference classes known only to the webapp, ie that the calling thread has been correctly annointed with the webapp loader.TestServer TestSessionDataStore TestSessionDataStore Make a fake session data store (non clustered!) that creates a new SessionData object every time load(id) is called.TestSessionDataStoreFactory TestSessionDataStoreFactoryTestSessionHandler TestSessionHandler For testing convenience, allows access to some protected fields in SessionHandlerWebAppObjectInSessionServlet WebAppObjectInSessionServletWebAppObjectInSessionServlet.TestSharedStatic -
Enum Summary Enum Description Session.IdState Session.State State Validity states of a session -
Exception Summary Exception Description UnreadableSessionDataException UnreadableSessionDataExceptionUnwriteableSessionDataException UnwriteableSessionDataException