@Test public void encodeLogicSupportsByteArray() throws Exception { byte[] expectedRequest = {12, 34, 56}; server.enqueue(new MockResponse()); OtherTestInterface api = Feign.builder().target(OtherTestInterface.class, "http: api.binaryRequestBody(expectedRequest); assertThat(server.takeRequest()) .hasBody(expectedRequest); }
public static Builder builder() { return new Builder(); }
Feign { public static Builder builder() { return new Builder(); } }
Feign { public static Builder builder() { return new Builder(); }  }
Feign { public static Builder builder() { return new Builder(); }  static Builder builder(); static String configKey(Class targetType, Method method); @Deprecated static String configKey(Method method); abstract T newInstance(Target<T> target); }
Feign { public static Builder builder() { return new Builder(); }  static Builder builder(); static String configKey(Class targetType, Method method); @Deprecated static String configKey(Method method); abstract T newInstance(Target<T> target);  }