Merge remote-tracking branch 'origin/jetty-9.4.x'
This commit is contained in:
commit
8eb8ccfb18
|
@ -46,7 +46,7 @@ import org.eclipse.jetty.util.log.Logger;
|
||||||
*
|
*
|
||||||
* Runs a HouseKeeper thread to periodically check for expired Sessions.
|
* Runs a HouseKeeper thread to periodically check for expired Sessions.
|
||||||
*
|
*
|
||||||
* @See HouseKeeper
|
* @see HouseKeeper
|
||||||
*/
|
*/
|
||||||
public class DefaultSessionIdManager extends AbstractLifeCycle implements SessionIdManager
|
public class DefaultSessionIdManager extends AbstractLifeCycle implements SessionIdManager
|
||||||
{
|
{
|
||||||
|
|
|
@ -580,6 +580,7 @@ public class Session implements SessionHandler.SessionIf
|
||||||
* @see javax.servlet.http.HttpSession#getSessionContext()
|
* @see javax.servlet.http.HttpSession#getSessionContext()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public HttpSessionContext getSessionContext()
|
public HttpSessionContext getSessionContext()
|
||||||
{
|
{
|
||||||
checkValidForRead();
|
checkValidForRead();
|
||||||
|
@ -654,6 +655,7 @@ public class Session implements SessionHandler.SessionIf
|
||||||
* @see javax.servlet.http.HttpSession#getValue(java.lang.String)
|
* @see javax.servlet.http.HttpSession#getValue(java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public Object getValue(String name)
|
public Object getValue(String name)
|
||||||
{
|
{
|
||||||
try (Lock lock = _lock.lockIfNotHeld())
|
try (Lock lock = _lock.lockIfNotHeld())
|
||||||
|
@ -758,6 +760,7 @@ public class Session implements SessionHandler.SessionIf
|
||||||
* @see javax.servlet.http.HttpSession#putValue(java.lang.String, java.lang.Object)
|
* @see javax.servlet.http.HttpSession#putValue(java.lang.String, java.lang.Object)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public void putValue(String name, Object value)
|
public void putValue(String name, Object value)
|
||||||
{
|
{
|
||||||
setAttribute(name,value);
|
setAttribute(name,value);
|
||||||
|
@ -782,6 +785,7 @@ public class Session implements SessionHandler.SessionIf
|
||||||
* @see javax.servlet.http.HttpSession#removeValue(java.lang.String)
|
* @see javax.servlet.http.HttpSession#removeValue(java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public void removeValue(String name)
|
public void removeValue(String name)
|
||||||
{
|
{
|
||||||
setAttribute(name, null);
|
setAttribute(name, null);
|
||||||
|
|
|
@ -80,14 +80,14 @@ public interface SessionCache extends LifeCycle
|
||||||
* @param id
|
* @param id
|
||||||
* @param time
|
* @param time
|
||||||
* @param maxInactiveMs
|
* @param maxInactiveMs
|
||||||
* @return
|
* @return a new Session
|
||||||
*/
|
*/
|
||||||
Session newSession (HttpServletRequest request, String id, long time, long maxInactiveMs);
|
Session newSession (HttpServletRequest request, String id, long time, long maxInactiveMs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Re-inflate a Session that has previously existed.
|
* Re-materialize a Session that has previously existed.
|
||||||
* @param data
|
* @param data
|
||||||
* @return
|
* @return a Session object for the data supplied
|
||||||
*/
|
*/
|
||||||
Session newSession (SessionData data);
|
Session newSession (SessionData data);
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ public interface SessionCache extends LifeCycle
|
||||||
*
|
*
|
||||||
* @param oldId
|
* @param oldId
|
||||||
* @param newId
|
* @param newId
|
||||||
* @return
|
* @return the Session after changing its id
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
Session renewSessionId (String oldId, String newId) throws Exception;
|
Session renewSessionId (String oldId, String newId) throws Exception;
|
||||||
|
@ -108,7 +108,7 @@ public interface SessionCache extends LifeCycle
|
||||||
* the session from the configured SessionDataStore.
|
* the session from the configured SessionDataStore.
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @return
|
* @return the Session if one exists, null otherwise
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
Session get(String id) throws Exception;
|
Session get(String id) throws Exception;
|
||||||
|
@ -144,7 +144,7 @@ public interface SessionCache extends LifeCycle
|
||||||
* SessionDataStore.
|
* SessionDataStore.
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @return
|
* @return true if the session exists, false otherwise
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
boolean exists (String id) throws Exception;
|
boolean exists (String id) throws Exception;
|
||||||
|
@ -155,7 +155,7 @@ public interface SessionCache extends LifeCycle
|
||||||
* cache and the SessionDataStore.
|
* cache and the SessionDataStore.
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @return
|
* @return the Session that was removed, null otherwise
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
Session delete (String id) throws Exception;
|
Session delete (String id) throws Exception;
|
||||||
|
@ -199,7 +199,7 @@ public interface SessionCache extends LifeCycle
|
||||||
* <li>evicted after a configurable period of inactivity</li>
|
* <li>evicted after a configurable period of inactivity</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @param -1 is never evict; 0 is evict-on-exit; and any other positive
|
* @param policy -1 is never evict; 0 is evict-on-exit; and any other positive
|
||||||
* value is the time in seconds that a session can be idle before it can
|
* value is the time in seconds that a session can be idle before it can
|
||||||
* be evicted.
|
* be evicted.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class ProxySerializationTest extends AbstractProxySerializationTest
|
||||||
FileTestServer.teardown();
|
FileTestServer.teardown();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractProxySerializationTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractProxySerializationTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy )
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy )
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class GCloudTestServer extends AbstractTestServer
|
||||||
* @param port
|
* @param port
|
||||||
* @param maxInactivePeriod
|
* @param maxInactivePeriod
|
||||||
* @param scavengePeriod
|
* @param scavengePeriod
|
||||||
* @param sessionIdMgrConfig
|
* @param evictionPolicy
|
||||||
*/
|
*/
|
||||||
public GCloudTestServer(int port, int maxInactivePeriod, int scavengePeriod, int evictionPolicy)
|
public GCloudTestServer(int port, int maxInactivePeriod, int scavengePeriod, int evictionPolicy)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ public class GCloudTestServer extends AbstractTestServer
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler(org.eclipse.jetty.server.SessionManager)
|
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public SessionHandler newSessionHandler()
|
public SessionHandler newSessionHandler()
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class ImmortalSessionTest extends AbstractImmortalSessionTest
|
||||||
GCloudTestSuite.__testSupport.deleteSessions();
|
GCloudTestSuite.__testSupport.deleteSessions();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavengeMs,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavengeMs,int evictionPolicy)
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class InvalidationSessionTest extends AbstractInvalidationSessionTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractInvalidationSessionTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractInvalidationSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactive, int scavengeInterval, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactive, int scavengeInterval, int evictionPolicy)
|
||||||
|
@ -50,7 +50,7 @@ public class InvalidationSessionTest extends AbstractInvalidationSessionTest
|
||||||
GCloudTestServer server = new GCloudTestServer(port, maxInactive, scavengeInterval, evictionPolicy)
|
GCloudTestServer server = new GCloudTestServer(port, maxInactive, scavengeInterval, evictionPolicy)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.gcloud.session.GCloudTestServer#newSessionManager()
|
* @see org.eclipse.jetty.gcloud.session.GCloudTestServer#newSessionHandler()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public SessionHandler newSessionHandler()
|
public SessionHandler newSessionHandler()
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class LastAccessTimeTest extends AbstractLastAccessTimeTest
|
||||||
GCloudTestSuite.__testSupport.deleteSessions();
|
GCloudTestSuite.__testSupport.deleteSessions();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractLastAccessTimeTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractLastAccessTimeTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class LocalSessionScavengingTest extends AbstractLocalSessionScavengingTe
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class NewSessionTest extends AbstractNewSessionTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class OrphanedSessionTest extends AbstractOrphanedSessionTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractOrphanedSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractOrphanedSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class ReentrantRequestSessionTest extends AbstractReentrantRequestSession
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port,int max, int scavengePeriod,int evictionPolicy)
|
public AbstractTestServer createServer(int port,int max, int scavengePeriod,int evictionPolicy)
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class RemoveSessionTest extends AbstractRemoveSessionTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractRemoveSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractRemoveSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge,int evictionPolicy)
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class SessionExpiryTest extends AbstractSessionExpiryTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionExpiryTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionExpiryTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class SessionInvalidateAndCreateTest extends AbstractSessionInvalidateAnd
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class SessionMigrationTest extends AbstractSessionMigrationTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionMigrationTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionMigrationTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavengeMs,int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavengeMs,int evictionPolicy)
|
||||||
|
|
|
@ -44,7 +44,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
@ -60,7 +60,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class SessionValueSavingTest extends AbstractSessionValueSavingTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionValueSavingTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionValueSavingTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class StopSessionManagerPreserveSessionTest extends AbstractStopSessionMa
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractStopSessionManagerPreserveSessionTest#checkSessionPersisted(boolean)
|
* @see org.eclipse.jetty.server.session.AbstractStopSessionManagerPreserveSessionTest#checkSessionPersisted(String, boolean)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void checkSessionPersisted(String id, boolean expected)
|
public void checkSessionPersisted(String id, boolean expected)
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context ,String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context ,String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class ImmortalSessionTest extends AbstractImmortalSessionTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class LocalSessionScavengingTest extends AbstractLocalSessionScavengingTe
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class NewSessionTest extends AbstractNewSessionTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -46,7 +46,7 @@ public class ReentrantRequestSessionTest extends AbstractReentrantRequestSession
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port,int maxInactive, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port,int maxInactive, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class SameNodeLoadTest extends AbstractSameNodeLoadTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSameNodeLoadTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractSameNodeLoadTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port,int maxInactive, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port,int maxInactive, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class SessionInvalidateAndCreateTest extends AbstractSessionInvalidateAnd
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -54,7 +54,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
@ -69,7 +69,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class RemoteImmortalSessionTest extends AbstractImmortalSessionTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractImmortalSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactiveMs, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class RemoteInvalidationSessionTest extends AbstractInvalidationSessionTe
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractInvalidationSessionTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractInvalidationSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInterval, int scavengeInterval, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInterval, int scavengeInterval, int evictionPolicy)
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class RemoteLocalSessionScavengingTest extends AbstractLocalSessionScaven
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class RemoteNewSessionTest extends AbstractNewSessionTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class RemoteReentrantRequestSessionTest extends AbstractReentrantRequestS
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractReentrantRequestSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactive, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactive, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class RemoteSameNodeLoadTest extends AbstractSameNodeLoadTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSameNodeLoadTest#createServer(int)
|
* @see org.eclipse.jetty.server.session.AbstractSameNodeLoadTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int maxInactive, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int maxInactive, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class RemoteSessionInvalidateAndCreateTest extends AbstractSessionInvalid
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionInvalidateAndCreateTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class RemoteSessionRenewTest extends AbstractSessionRenewTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
@ -68,7 +68,7 @@ public class RemoteSessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -91,7 +91,7 @@ public class JdbcTestServer extends AbstractTestServer
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler(org.eclipse.jetty.server.SessionManager)
|
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public SessionHandler newSessionHandler()
|
public SessionHandler newSessionHandler()
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.junit.Test;
|
||||||
public class NewSessionTest extends AbstractNewSessionTest
|
public class NewSessionTest extends AbstractNewSessionTest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractNewSessionTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class ProxySerializationTest extends AbstractProxySerializationTest
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractProxySerializationTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractProxySerializationTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class SessionExpiryTest extends AbstractSessionExpiryTest
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionExpiryTest#createServer(int, int, int)
|
* @see org.eclipse.jetty.server.session.AbstractSessionExpiryTest#createServer(int, int, int, int)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
public AbstractTestServer createServer(int port, int max, int scavenge, int evictionPolicy)
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class MemcachedTestServer extends AbstractTestServer
|
||||||
* @param port
|
* @param port
|
||||||
* @param maxInactivePeriod
|
* @param maxInactivePeriod
|
||||||
* @param scavengePeriod
|
* @param scavengePeriod
|
||||||
* @param sessionIdMgrConfig
|
* @param evictionPolicy
|
||||||
*/
|
*/
|
||||||
public MemcachedTestServer(int port, int maxInactivePeriod, int scavengePeriod, int evictionPolicy)
|
public MemcachedTestServer(int port, int maxInactivePeriod, int scavengePeriod, int evictionPolicy)
|
||||||
{
|
{
|
||||||
|
@ -156,7 +156,7 @@ public class MemcachedTestServer extends AbstractTestServer
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler(org.eclipse.jetty.server.SessionManager)
|
* @see org.eclipse.jetty.server.session.AbstractTestServer#newSessionHandler()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public SessionHandler newSessionHandler()
|
public SessionHandler newSessionHandler()
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class SessionRenewTest extends AbstractSessionRenewTest
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(java.lang.String, java.lang.String)
|
* @see org.eclipse.jetty.server.session.AbstractSessionRenewTest#verifyChange(WebAppContext, java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
public boolean verifyChange(WebAppContext context, String oldSessionId, String newSessionId)
|
||||||
|
|
|
@ -57,7 +57,6 @@ public abstract class AbstractIdleSessionTest extends AbstractTestBase
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param sessionDir
|
|
||||||
* @param sessionId
|
* @param sessionId
|
||||||
*/
|
*/
|
||||||
public abstract void checkSessionIdled (String sessionId);
|
public abstract void checkSessionIdled (String sessionId);
|
||||||
|
|
Loading…
Reference in New Issue