public static HttpServer createServer(String webapp) throws IOException {
    return localServerBuilder(webapp).setFindPort(true).build();
  }
Create an HttpServer instance for the given webapp
@param webapp the webapp to work with
@return the server
@throws IOException if it could not be created
hbase-http/src/test/java/org/apache/hadoop/hbase/http/HttpServerFunctionalTest.java