@Override
  protected void stopServer() {
    if((server != null) && server.isStarted()) {
      try {
        server.stop();
        server = null;
        LOG.info("Thrift HTTP server has been stopped");
      } catch (Exception e) {
        LOG.error("Error stopping HTTP server: ", e);
      }
    }
  }
The config parameter can be like "path", "/path", "/path/", "path/*", "/path1/path2/*" and so on.
httpPath should end up as "/*", "/path/*" or "/path1/../pathN/*"
@param httpPath
@return
service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java