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
ConstructorsConstructorDescriptionHttpAuthorization(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 eitherschemeorparameteris null.IllegalArgumentException- If eitherschemeorparameterare an empty string.
-
-
Method Details