/** * Construct a headers, from immutable jdk http client headers. * * @param httpHeaders the http headers * @return Headers */ public static Headers ofHttpHeaders(HttpHeaders httpHeaders) { return new Headers(httpHeaders.map()); }
@Override public Map<String, List<String>> headers() { return clientResponse.headers().map(); }