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)
newSessionIdManager
public abstract SessionIdManager newSessionIdManager()
newSessionManager
public abstract AbstractSessionManager 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
addWebAppContext
public WebAppContext addWebAppContext(String warPath,
String contextPath)
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.