@Override
    public void processChallenge(
            final AuthChallenge authChallenge,
            final HttpContext context) throws MalformedChallengeException {
        this.paramMap.clear();
        final List<NameValuePair> params = authChallenge.getParams();
        if (params != null) {
            for (final NameValuePair param: params) {
                this.paramMap.put(param.getName().toLowerCase(Locale.ROOT), param.getValue());
            }
        }
        this.complete = true;
    }
Constructs a new BasicScheme with UTF-8 as the charset.

@since 4.3
httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java