in src/main/java/com/aliyun/credentials/http/HttpMessage.java [94:108]
public String getHttpContentString() {
String stringContent = "";
if (this.httpContent != null) {
try {
if (this.encoding == null) {
stringContent = new String(this.httpContent);
} else {
stringContent = new String(this.httpContent, this.encoding);
}
} catch (UnsupportedEncodingException exp) {
throw new CredentialException("Can not parse response due to unsupported encoding: " + exp.getMessage(), exp);
}
}
return stringContent;
}