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

Method responseBody

core/src/main/java/feign/FeignException.java:149–154  ·  view source on GitHub ↗

The Response body. @return an Optional wrapping the response body.

()

Source from the content-addressed store, hash-verified

147 * @return an Optional wrapping the response body.
148 */
149 public Optional<ByteBuffer> responseBody() {
150 if (this.responseBody == null) {
151 return Optional.empty();
152 }
153 return Optional.of(ByteBuffer.wrap(this.responseBody));
154 }
155
156 public Map<String, Collection<String>> responseHeaders() {
157 if (this.responseHeaders == null) {

Calls 3

wrapMethod · 0.80
emptyMethod · 0.65
ofMethod · 0.45