org.eclipse.jetty.server.session
Class AbstractTestServer
java.lang.Object
org.eclipse.jetty.server.session.AbstractTestServer
public abstract class AbstractTestServer
- extends Object
AbstractTestServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_server
protected final Server _server
_maxInactivePeriod
protected final int _maxInactivePeriod
_scavengePeriod
protected final int _scavengePeriod
_contexts
protected final ContextHandlerCollection _contexts
_sessionIdManager
protected SessionIdManager _sessionIdManager
AbstractTestServer
public AbstractTestServer(int port)
AbstractTestServer
public AbstractTestServer(int port,
int maxInactivePeriod,
int scavengePeriod)
AbstractTestServer
public AbstractTestServer(int port,
int maxInactivePeriod,
int scavengePeriod,
String sessionIdMgrConfig)
newSessionIdManager
public abstract SessionIdManager newSessionIdManager(String config)
newSessionManager
public abstract SessionManager newSessionManager()
newSessionHandler
public abstract SessionHandler newSessionHandler(SessionManager sessionManager)
start
public void start()
throws Exception
- Throws:
Exception
getPort
public int getPort()
addContext
public ServletContextHandler addContext(String contextPath)
stop
public void stop()
throws Exception
- Throws:
Exception
join
public void join()
throws Exception
- Throws:
Exception
addWebAppContext
public WebAppContext addWebAppContext(String warPath,
String contextPath)
getServer
public Server getServer()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.