connection.disconnect();
}
public void testApplicationWithSessionHandler() throws Exception {
SessionManager sessionManager = new MockSessionManager();
sessionHandlerFactory = new ClusteredSessionHandlerFactory(sessionManager);
JettyWebAppContext app = setUpAppContext(null, null, null, null, null, null, null, "war1/");
setUpStaticContentServlet(app);
HttpURLConnection connection = (HttpURLConnection) new URL("http://localhost:5678/test/hello.txt").openConnection();