/** * Gets the status reason phrase for this response as {@link DataChunk} (avoid creation of a * String object}. This implementation takes into consideration the {@link * #isAllowCustomReasonPhrase()} property - if the custom reason phrase is allowed and it's value * is not null - then the returned result will be equal to {@link #getReasonPhraseRawDC()}, * otherwise if custom reason phrase is disallowed or its value is null - the default reason * phrase for the HTTP response {@link #getStatus()} will be returned. * * @return the status reason phrase for this response as {@link DataChunk} (avoid creation of a * String object}. */ public final DataChunk getReasonPhraseDC() { if (isCustomReasonPhraseSet()) { return reasonPhraseC; } else { reasonPhraseC.setBytes(httpStatus.getReasonPhraseBytes()); return reasonPhraseC; } }