10231024102510261027102810291030103110321033
if (!this.warningsAdded) { if (getHeaders() != null) { for (String warning : getHeaders().getValuesArray( HeaderConstants.HEADER_WARNING)) { new WarningReader(warning).addValues(result); } } this.warningsAdded = true; }
581582583584585586587588589590591
public List<Warning> getWarnings() { List<Warning> result = super.getWarnings(); if (!warningsAdded) { for (String header : getHttpCall().getRequestHeaders() .getValuesArray(HeaderConstants.HEADER_WARNING)) { new WarningReader(header).addValues(result); } warningsAdded = true; } return result; }
600601602603604605606607608609610