public abstract class AbstractSessionExpiryTest extends AbstractTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSessionExpiryTest.ChangeTimeoutServlet |
class |
AbstractSessionExpiryTest.TestHttpSessionListener |
static class |
AbstractSessionExpiryTest.TestServlet |
| Constructor and Description |
|---|
AbstractSessionExpiryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
pause(int period) |
void |
testRequestForSessionWithChangedTimeout() |
void |
testSessionExpiresWithListener() |
void |
testSessionExpiry()
Check that a session that expires whilst the server is stopped will not be
able to be used when the server restarts
|
void |
testSessionNotExpired()
Check session is preserved over stop/start
|
void |
verifySessionCreated(AbstractSessionExpiryTest.TestHttpSessionListener listener,
java.lang.String sessionId) |
void |
verifySessionDestroyed(AbstractSessionExpiryTest.TestHttpSessionListener listener,
java.lang.String sessionId) |
createSessionDataStoreFactorypublic void pause(int period)
public void testSessionExpiresWithListener()
throws java.lang.Exception
java.lang.Exceptionpublic void testSessionNotExpired()
throws java.lang.Exception
java.lang.Exceptionpublic void testSessionExpiry()
throws java.lang.Exception
java.lang.Exceptionpublic void testRequestForSessionWithChangedTimeout()
throws java.lang.Exception
java.lang.Exceptionpublic void verifySessionCreated(AbstractSessionExpiryTest.TestHttpSessionListener listener, java.lang.String sessionId)
public void verifySessionDestroyed(AbstractSessionExpiryTest.TestHttpSessionListener listener, java.lang.String sessionId)
Copyright © 1995–2019 Webtide. All rights reserved.