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

Method encoded

core/src/main/java/feign/Request.java:581–584  ·  view source on GitHub ↗

Creates a new Request Body with charset encoded data. @param data to be encoded. @param charset to encode the data with. if {@literal null}, then data will be considered binary and will not be encoded. @return a new Request.Body instance with the encoded data. @deprecated please use {@link Requ

(byte[] data, Charset charset)

Source from the content-addressed store, hash-verified

579 * @deprecated please use {@link Request.Body#create(byte[], Charset)}
580 */
581 @Deprecated
582 public static Body encoded(byte[] data, Charset charset) {
583 return create(data, charset);
584 }
585
586 public static Body empty() {
587 return new Body();

Callers

nothing calls this directly

Calls 1

createMethod · 0.95

Tested by

no test coverage detected