Package org.eclipse.jetty.client.api
Interface Authentication.Result
-
- All Known Implementing Classes:
BasicAuthentication.BasicResult
,SPNEGOAuthentication.SPNEGOResult
- Enclosing interface:
- Authentication
@Deprecated(since="2021-05-27") public static interface Authentication.Result
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Authentication.Result
holds the information needed to authenticate aRequest
viaapply(org.eclipse.jetty.client.api.Request)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
apply(Request request)
Deprecated.Applies the authentication result to the given request.java.net.URI
getURI()
Deprecated.
-
-
-
Method Detail
-
getURI
java.net.URI getURI()
Deprecated.- Returns:
- the URI of the request that has been used to generate this
Authentication.Result
-
apply
void apply(Request request)
Deprecated.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
-
-