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.ResultDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Authentication.Resultholds the information needed to authenticate aRequestviaapply(org.eclipse.jetty.client.api.Request).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidapply(Request request)Deprecated.Applies the authentication result to the given request.java.net.URIgetURI()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, aAuthorizationheader is added to the request, with the right information to successfully authenticate at the server.- Parameters:
request- the request to authenticate
-
-