code: protected String getCommandEndpoint(String schedulerEndpoint, Command command) {
      // Currently the server side receives command request in lower case
      return String.format("http://%s/%s", schedulerEndpoint, command.name().toLowerCase());
    }
docs: Construct the endpoint to send http request for a particular command
  Make sure the construction matches server sides.
  
  @param schedulerEndpoint The scheduler http endpoint
  @param command The command to request
  @return The http endpoint for particular command