void addServletWithAuth(String name, String pathSpec, Class<? extends HttpServlet> clazz,
    boolean requireAuthz) {
    addInternalServlet(name, pathSpec, clazz, requireAuthz);
    addFilterPathMapping(pathSpec, webAppContext);
  }
Internal method to add a servlet to the HTTP server. Developers should not call this method
directly, but invoke it via {@link #addUnprivilegedServlet(String, String, Class)} or
{@link #addPrivilegedServlet(String, String, Class)}.
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java