Class JavaHttpClient
java.lang.Object
org.projectnessie.client.http.impl.jdk11.JavaHttpClient
- All Implemented Interfaces:
AutoCloseable,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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.projectnessie.client.http.HttpClient
HttpClient.Builder, HttpClient.Method -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projectnessie.client.http.HttpClient
newRequest
-
Constructor Details
-
JavaHttpClient
-
-
Method Details
-
newRequest
- Specified by:
newRequestin interfaceHttpClient
-
getBaseUri
- Specified by:
getBaseUriin interfaceHttpClient
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceHttpClient
-