code: public static Call fromRequest(final Request request) {
          Call call = new Call();
  
          call.request = request;
          call.method = request.getMethod();
          call.authorization = request.getAuthorization();
          call.uri = request.getRequestURI();
          call.contentType = request.getContentType();
          call.url = request.getRequestURL().toString();
  
          for (String headerName : request.getHeaderNames()) {
              List<String> headers = new ArrayList<>();
              request.getHeaders(headerName).forEach(headers::add);
              call.headers.put(headerName, headers);
          }
  
          call.parameters = new HashMap<>(request.getParameterMap());
  
          try {
              call.postBody = request.getPostBody(999999).toStringContent(Charset.defaultCharset());
          } catch (IOException e) {
              throw new RuntimeException("Problem reading Post Body of HTTP call");
          }
  
          return call;
      }
docs: Factory method