code: public static UriTemplate create(String template, Charset charset) {
      return new UriTemplate(template, true, charset);
    }
docs: Create a Uri Template.
  
  @param template representing the uri.
  @param charset for encoding.
  @return a new Uri Template instance.