code: public RequestInvoker resolve(Map<String, ?> templateValues) {
          final Uri resolvedUri;
          try {
              resolvedUri = uriBuilder.build(templateValues);
          } catch (Exception e) {
              throw new IllegalArgumentException("Could not build the URI with the supplied template values.", e);
          }
          return createRequest(resolvedUri.toString());
      }
docs: Resolves the URI template parameters of the current target instance using supplied name-value pairs and start
  building a request to the targeted web resource.
  
  @param templateValues  a map of URI template names and their values.
  
  @return  builder for a request targeted at the URI referenced by the resolved target instance.