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

Method asString

core/src/main/java/feign/Request.java:548–550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546 }
547
548 public String asString() {
549 return !isBinary() ? new String(data, encoding) : "Binary data";
550 }
551
552 public boolean isBinary() {
553 return encoding == null || data == null;

Callers 5

toStringMethod · 0.45
assertRequestMethod · 0.45
handleRequestMethod · 0.45

Calls 1

isBinaryMethod · 0.95

Tested by 4

assertRequestMethod · 0.36
handleRequestMethod · 0.36