public static UriTemplate create(String template, boolean encodeSlash, Charset charset) {
    return new UriTemplate(template, encodeSlash, charset);
  }
Create a Uri Template.

@param template representing the uri
@param encodeSlash flag if slash characters should be encoded.
@param charset for the template.
@return a new Uri Template instance.
core/src/main/java/feign/template/UriTemplate.java