code: @Override
    public void defineCommand(String name, HttpMethod method, String pathPattern) {
      defineCommand(name, new CommandSpec(method, pathPattern));
    }
docs: Defines a new command mapping.
  
  @param name The command name.
  @param method The HTTP method to use for the command.
  @param pathPattern The URI path pattern for the command. When encoding a command, each
  path segment prefixed with a ":" will be replaced with the corresponding parameter
  from the encoded command.