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

Method encode

core/src/test/java/feign/AsyncFeignTest.java:189–192  ·  view source on GitHub ↗
(Object object, Type bodyType, RequestTemplate template)

Source from the content-addressed store, hash-verified

187 .encoder(
188 new DefaultEncoder() {
189 @Override
190 public void encode(Object object, Type bodyType, RequestTemplate template) {
191 encodedType.set(bodyType);
192 }
193 })
194 .target("http://localhost:" + server.getPort());
195

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected