context.setContextPath( snapshots.context );
context.setAttribute( "dirAllowed", true );
context.setAttribute( "maxCacheSize", 0 );
context.setResourceBase( snapshots.root.getAbsolutePath() );
ServletHandler servlet = new ServletHandler();
servlet.addServletWithMapping( DefaultServlet.class.getName(), "/" );
context.setHandler( servlet );
contexts.addHandler( context );
snapshots.server.start();