public void registerServlet(String path, Servlet servletContainer) {
    ServletHolder servletHolder = new ServletHolder(Source.EMBEDDED);
    servletHolder.setName("Data Transfer Project");
    servletHolder.setServlet(servletContainer);
    servletHolder.setInitOrder(1);

    ServletContextHandler handler = new ServletContextHandler(ServletContextHandler.NO_SESSIONS);
    handler.setContextPath("/");

    handlers.add(handler);

    handler.getServletHandler().addServletWithMapping(servletHolder, path);
  }
Provides HTTP(s) communication to the system via Jetty.
extensions/transport/portability-transport-jettyrest/src/main/java/org/datatransferproject/transport/jettyrest/http/JettyTransport.java