public URI getURI() {
    if (server == null || !server.isRunning()) {
      throw new IllegalStateException("server is not running");
    }
    return server.getURI();
  }
Retrieve the service URI for this service.
hbase-it/src/test/java/org/apache/hadoop/hbase/MockHttpApiRule.java