Package org.eclipse.jetty.client.api
Interface Authentication.Result
-
- All Known Implementing Classes:
BasicAuthentication.BasicResult
,SPNEGOAuthentication.SPNEGOResult
- Enclosing interface:
- Authentication
public static interface Authentication.Result
Authentication.Result
holds the information needed to authenticate aRequest
viaapply(org.eclipse.jetty.client.api.Request)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(Request request)
Applies the authentication result to the given request.java.net.URI
getURI()
-
-
-
Method Detail
-
getURI
java.net.URI getURI()
- Returns:
- the URI of the request that has been used to generate this
Authentication.Result
-
apply
void apply(Request request)
Applies the authentication result to the given request. Typically, aAuthorization
header is added to the request, with the right information to successfully authenticate at the server.- Parameters:
request
- the request to authenticate
-
-