Package org.projectnessie.client.http
Interface HttpAuthentication
- All Superinterfaces:
AutoCloseable,NessieAuthentication
A special
RequestFilter that applies authentication to the HTTP request, typically in the
form of HTTP headers.-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToHttpClient(HttpClient.Builder client) Configure the givenHttpClientto use this authentication.default voidapplyToHttpRequest(RequestContext context) Apply authentication to the HTTP request.default HttpAuthenticationcopy()Methods inherited from interface org.projectnessie.client.auth.NessieAuthentication
close, start
-
Method Details
-
applyToHttpClient
Configure the givenHttpClientto use this authentication. Called when authentication is set on theHttpClientlevel only.- Parameters:
client- client to configure- See Also:
-
applyToHttpRequest
Apply authentication to the HTTP request. Called when authentication is set on theHttpRequestlevel only.- Parameters:
context- The request context- See Also:
-
copy
- Specified by:
copyin interfaceNessieAuthentication
-