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

Method header

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

@see RequestTemplate#header(String, Iterable)

(String name, String... values)

Source from the content-addressed store, hash-verified

722 * @see RequestTemplate#header(String, Iterable)
723 */
724 public RequestTemplate header(String name, String... values) {
725 if (values == null) {
726 return appendHeader(name, Collections.emptyList());
727 }
728
729 return header(name, Arrays.asList(values));
730 }
731
732 /**
733 * Specify a Header, with the specified values. Values can be literals or template expressions.

Callers 3

bodyMethod · 0.95

Calls 3

appendHeaderMethod · 0.95
isEmptyMethod · 0.80
asListMethod · 0.45