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

Method bodyTemplate

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

Specify the Body Template to use. Can contain literals and expressions. @param bodyTemplate to use. @return a RequestTemplate for chaining.

(String bodyTemplate)

Source from the content-addressed store, hash-verified

961 * @return a RequestTemplate for chaining.
962 */
963 public RequestTemplate bodyTemplate(String bodyTemplate) {
964 this.bodyTemplate = BodyTemplate.create(bodyTemplate, this.charset);
965 return this;
966 }
967
968 /**
969 * Specify the Body Template to use. Can contain literals and expressions.

Callers 8

hasBodyMethod · 0.80
hasBodyTemplateMethod · 0.80
noRequestBodyMethod · 0.80
DefaultContractMethod · 0.80
resolveMethod · 0.80
applyMethod · 0.80

Calls 2

createMethod · 0.95
toStringMethod · 0.45