private String createSummaryString(int truncateLength) {
StrBuilder httpString = new StrBuilder();
httpString.append(protocolVersion).append(" ").append(statusCode).append(" ").append(statusMessage);
httpString.appendNewLine();
httpString.appendWithSeparators(headers, SystemUtils.LINE_SEPARATOR);
if (StringUtils.isNotEmpty(content)) {
httpString.appendNewLine();
httpString.appendNewLine();
httpString.append(StringUtils.abbreviate(content, truncateLength));