public synchronized void start(InternalCache cache) {
    if (!running && config.getHttpServicePort() != 0) {
      try {
        startHttpService(cache);
        running = true;
        cache.setRESTServiceRunning(true);

        // create region to hold query information (queryId, queryString). Added
        // for the developer REST APIs
        RestAgent.createParameterizedQueryRegion();
      } catch (Throwable e) {
        logger.warn("Unable to start dev REST API: {}", e.toString());
      }
    }
  }
Agent implementation that controls the HTTP server end points used for REST clients to connect
gemfire data node.
<p>
The RestAgent is used to start http service in embedded mode on any non manager data node with
developer REST APIs service enabled.

@since GemFire 8.0
geode-core/src/main/java/org/apache/geode/management/internal/RestAgent.java