Package org.projectnessie.client.http
Interface HttpClient
- All Superinterfaces:
AutoCloseable
Simple Http client to make REST calls.
Assumptions: - always send/receive JSON - set headers accordingly by default - very simple interactions w/ API - no cookies - no caching of connections. Could be slow
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClient.Builderbuilder()voidclose()default HttpRequestnewRequest(URI baseUri)
-
Method Details
-
newRequest
-
newRequest
-
builder
-
getBaseUri
URI getBaseUri() -
close
void close()- Specified by:
closein interfaceAutoCloseable
-