code: protected void defineCommand(String commandName, CommandInfo info) {
      checkNotNull(commandName);
      checkNotNull(info);
      commandCodec.defineCommand(commandName, info.getMethod(), info.getUrl());
    }
docs: It may be useful to extend the commands understood by this {@code HttpCommandExecutor} at run
  time, and this can be achieved via this method. Note, this is protected, and expected usage is
  for subclasses only to call this.
  
  @param commandName The name of the command to use.
  @param info CommandInfo for the command name provided