void register(final String pathRegex, final BiConsumer<String, HttpServletResponse> responder) {
      LOG.debug("Registering responder to '{}'", pathRegex);
      responseMappingLock.writeLock().lock();
      try {
        responseMapping.put(pathRegex, responder);
        regexSet.add(pathRegex);
      } finally {
        responseMappingLock.writeLock().unlock();
      }
    }
Retrieve the service URI for this service.
hbase-it/src/test/java/org/apache/hadoop/hbase/MockHttpApiRule.java