code: public static UriTemplate append(UriTemplate uriTemplate, String fragment) {
      return new UriTemplate(uriTemplate.toString() + fragment, uriTemplate.encodeSlash(),
          uriTemplate.getCharset());
    }
docs: Append a uri fragment to the template.
  
  @param uriTemplate to append to.
  @param fragment to append.
  @return a new UriTemplate with the fragment appended.