charsetName = Strings.trimToNull(contentType.substring(pos+8, contentType.length()));
}
}
List<String> authorizations = _headers.get("authorization");
if ((authorizations != null) && (authorizations.size() > 0)) {
AuthorizationHeaderCredentialExtractor ahce;
if (charsetName != null) {
ahce = new AuthorizationHeaderCredentialExtractor(charsetName);
} else {
ahce = new AuthorizationHeaderCredentialExtractor();
}
credentials.addAll(ahce.extract(authorizations.get(0)));
}
}
return credentials;
}