public HttpResponse withBody()

in src/main/java/com/epam/digital/data/platform/starter/logger/feign/FeignLogbookHttpResponse.java [57:64]


  public HttpResponse withBody() throws IOException {
    this.withBody = true;
    if (Objects.isNull(this.responseBody) && Objects.nonNull(this.response.body())) {
      this.responseBody = this.response.body().asInputStream().readAllBytes();
      this.response = this.response.toBuilder().body(responseBody).build();
    }
    return this;
  }