Home
last modified time | relevance | path

Searched refs:contentLengthHeader (Results 1 – 5 of 5) sorted by relevance

/external/apache-http/src/org/apache/http/impl/entity/
DStrictContentLengthStrategy.java196 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength() local
212 } else if (contentLengthHeader != null) { in determineLength()
213 String s = contentLengthHeader.getValue(); in determineLength()
DLaxContentLengthStrategy.java201 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength() local
237 } else if (contentLengthHeader != null) { in determineLength()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java158 protected ContentLength contentLengthHeader; field in SIPMessage
247 return contentLengthHeader.encode(encoding).append(NEWLINE).toString(); in encodeSIPHeaders()
375 encoding.append(contentLengthHeader.encode()).append(NEWLINE); in encode()
432 contentLengthHeader.encode(encoding); in encodeAsBytes()
479 retval.contentLengthHeader = null; in clone()
662 contentLengthHeader.setContentLength(cl.getContentLength()); in attachHeader()
703 this.contentLengthHeader = (ContentLength) h; in attachHeader()
762 this.contentLengthHeader = null; in removeHeader()
801 this.contentLengthHeader = null; in removeHeader()
1160 return this.contentLengthHeader; in getContentLength()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultHttpDataSource.java599 String contentLengthHeader = connection.getHeaderField("Content-Length"); in getContentLength() local
600 if (!TextUtils.isEmpty(contentLengthHeader)) { in getContentLength()
602 contentLength = Long.parseLong(contentLengthHeader); in getContentLength()
604 Log.e(TAG, "Unexpected Content-Length [" + contentLengthHeader + "]"); in getContentLength()
623 Log.w(TAG, "Inconsistent headers [" + contentLengthHeader + "] [" + contentRangeHeader in getContentLength()
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java804 String contentLengthHeader = null; in getContentLength() local
806 contentLengthHeader = contentLengthHeaders.get(0); in getContentLength()
807 if (!TextUtils.isEmpty(contentLengthHeader)) { in getContentLength()
809 contentLength = Long.parseLong(contentLengthHeader); in getContentLength()
811 Log.e(TAG, "Unexpected Content-Length [" + contentLengthHeader + "]"); in getContentLength()
834 Log.w(TAG, "Inconsistent headers [" + contentLengthHeader + "] [" + contentRangeHeader in getContentLength()