Package com.azure.core.http
Class HttpAuthorization
- java.lang.Object
-
- com.azure.core.http.HttpAuthorization
-
public final class HttpAuthorization extends Object
Represents the value of an HTTP Authorization header.
-
-
Constructor Summary
Constructors Constructor Description HttpAuthorization(String scheme, String parameter)
Constructs a new HttpAuthorization instance.
-
-
-
Constructor Detail
-
HttpAuthorization
public HttpAuthorization(String scheme, String parameter)
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.
-
-