public final class HttpAuthorization extends Object
Constructor and Description |
---|
HttpAuthorization(String scheme,
String parameter)
Constructs a new HttpAuthorization instance.
|
public HttpAuthorization(String scheme, String parameter)
scheme
- Scheme component of an authorization header value.parameter
- The credentials used for the authorization header value.NullPointerException
- If either scheme
or parameter
is null.IllegalArgumentException
- If either scheme
or parameter
are an empty string.Copyright © 2021 Microsoft Corporation. All rights reserved.