Package com.azure.core.http
Class HttpAuthorization
java.lang.Object
com.azure.core.http.HttpAuthorization
Represents the value of an HTTP Authorization header.
-
Constructor Summary
ConstructorDescriptionHttpAuthorization
(String scheme, String parameter) Constructs a new HttpAuthorization instance. -
Method Summary
-
Constructor Details
-
HttpAuthorization
Constructs a new HttpAuthorization instance.- Parameters:
scheme
- Scheme component of an authorization header value.parameter
- The credentials used for the authorization header value.- Throws:
NullPointerException
- If eitherscheme
orparameter
is null.IllegalArgumentException
- If eitherscheme
orparameter
are an empty string.
-
-
Method Details