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

Method insert

core/src/main/java/feign/RequestTemplate.java:424–428  ·  view source on GitHub ↗

Insert the value at the specified point in the template uri. This method is poorly named has undocumented behavior. When the value contains a fully qualified http request url, the value is always inserted at the beginning of the uri. Due to this, use of this method is not recommended and rem

(int pos, CharSequence value)

Source from the content-addressed store, hash-verified

422 * @deprecated see {@link RequestTemplate#target(String)}
423 */
424 @SuppressWarnings("unused")
425 @Deprecated
426 public RequestTemplate insert(int pos, CharSequence value) {
427 return target(value.toString());
428 }
429
430 /**
431 * Set the Uri for the request, replacing the existing uri if set.

Callers

nothing calls this directly

Calls 2

targetMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected