Creates a Client from an HttpClient.
Client
HttpClient
A set of ignored request headers. Some headers (like Content-Length) are "restricted" and cannot be set by the user. By default, the set of restricted headers of the OpenJDK 11 is used.
The HttpClient.
A Client wrapping the default HttpClient.