private String encodeLiteral(String value) {
    return this.encodeLiteral() ? UriUtils.encode(value, this.charset, true) : value;
  }
Uri Encode the value.

@param value to encode.
@return the encoded value.
core/src/main/java/feign/template/Template.java