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,
String sessionId) |
void |
verifySessionDestroyed(AbstractSessionExpiryTest.TestHttpSessionListener listener,
String sessionId) |
createSessionDataStoreFactory
public void pause(int period)
public void testSessionExpiresWithListener() throws Exception
Exception
public void testSessionNotExpired() throws Exception
Exception
public void testSessionExpiry() throws Exception
Exception
public void testRequestForSessionWithChangedTimeout() throws Exception
Exception
public void verifySessionCreated(AbstractSessionExpiryTest.TestHttpSessionListener listener, String sessionId)
public void verifySessionDestroyed(AbstractSessionExpiryTest.TestHttpSessionListener listener, String sessionId)
Copyright © 1995–2017 Webtide. All rights reserved.