Beispiel #1
0
  public long getContentLengthLong() {
    if (contentLength > -1) {
      return contentLength;
    }

    MessageBytes clB = headers.getUniqueValue("content-length");
    contentLength = (clB == null || clB.isNull()) ? -1 : clB.getLong();

    return contentLength;
  }