/** * Returns the range conditional status of an entity. * * @param representationInfo * The representation information that will be tested. * @return the status of the response. */ public Status getRangeStatus(RepresentationInfo representationInfo) { return getRangeStatus( (representationInfo == null) ? null : representationInfo.getTag(), (representationInfo == null) ? null : representationInfo .getModificationDate()); }
|| request.getConditions().getRangeStatus(response.getEntity()).isSuccess())) { Range requestedRange = request.getRanges().get(0);