MCPcopy Index your code
hub / github.com/OpenFeign/feign / encodeLiteral

Method encodeLiteral

core/src/main/java/feign/template/Template.java:159–161  ·  view source on GitHub ↗

Uri Encode the value. @param value to encode. @return the encoded value.

(String value)

Source from the content-addressed store, hash-verified

157 * @return the encoded value.
158 */
159 private String encodeLiteral(String value) {
160 return this.encodeLiteral() ? UriUtils.encode(value, this.charset, true) : value;
161 }
162
163 /**
164 * Variable names contained in the template.

Callers 2

resolveExpressionMethod · 0.95
parseFragmentMethod · 0.95

Calls 2

encodeMethod · 0.95
isEncodingRequiredMethod · 0.80

Tested by

no test coverage detected