APISonar


org.seleniumhq.jetty7.servlet.ServletContextHandler.SECURITY

> org > seleniumhq > jetty7 > servlet > ServletContextHandler > SECURITY
org APIs seleniumhq APIs jetty7 APIs servlet APIs ServletContextHandler APIs SECURITY APIs

Example 1
private static AppServer createAppServer(TestEventServlet resultsServlet) {
    ServletContextHandler context = new ServletContextHandler(
        ServletContextHandler.SESSIONS|ServletContextHandler.SECURITY);
    context.setContextPath("/");
    context.addServlet(new ServletHolder(resultsServlet), "/testevent");

    Jetty7AppServer appServer = new Jetty7AppServer();
    appServer.addHandler(context);
    return appServer;
  }