Class JavaHttpClient

java.lang.Object
org.projectnessie.client.http.impl.jdk11.JavaHttpClient
All Implemented Interfaces:
AutoCloseable, HttpClient

public final class JavaHttpClient extends Object implements HttpClient
Nessie's HTTP client used when running on Java 11 or newer.

Java's new HttpClient provides a lot of benefits, such as HTTP/2 support, proper redirection support (if enabled), and advanced security capabilities. See the NessieClientBuilder for parameters supported only by this client implementation.