private static void disableDirectoryListingOnServlet(ServletContextHandler contextHandler) {
    contextHandler.setInitParameter("org.eclipse.jetty.servlet.Default.dirAllowed", "false");
  }
Add a servlet holder to the provided webAppContext
@param name The name of the servlet (can be passed as null)
@param pathSpec The path spec for the servlet
@param holder The servlet holder to be added to the webAppContext
@param webAppContext The webAppContext to which the servlet will be added
common/src/java/org/apache/hive/http/HttpServer.java