@Override
    public void restore(final State state) {
        if (state != null) {
            paramMap.clear();
            paramMap.putAll(state.params);
            credentials = state.credentials;
            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