public static UriTemplate append(UriTemplate uriTemplate, String fragment) {
    return new UriTemplate(
        uriTemplate.toString() + fragment, uriTemplate.encodeSlash(), uriTemplate.getCharset());
  }
Append a uri fragment to the template.

@param uriTemplate to append to.
@param fragment to append.
@return a new UriTemplate with the fragment appended.
core/src/main/java/feign/template/UriTemplate.java