/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | StringMsgParser.java | 213 if (readBody && message.getContentLength() != null && in parseSIPMessage() 214 message.getContentLength().getContentLength() != 0) { in parseSIPMessage() 220 …ssageContent(body,computeContentLengthFromMessage ,message.getContentLength().getContentLength() ); in parseSIPMessage() 325 if (readBody && message.getContentLength() != null ) { in parseSIPMessage() 326 if ( message.getContentLength().getContentLength() != 0) { in parseSIPMessage() 328 …nt(body,this.strict,computeContentLengthFromMessage,message.getContentLength().getContentLength()); in parseSIPMessage() 329 …} else if (!computeContentLengthFromMessage && message.getContentLength().getContentLength() == 0 … in parseSIPMessage()
|
D | PipelinedMsgParser.java | 293 .getContentLength(); in run() 296 contentLength = cl.getContentLength(); in run()
|
/external/apache-http/src/org/apache/http/util/ |
D | EntityUtils.java | 73 if (entity.getContentLength() > Integer.MAX_VALUE) { in toByteArray() 76 int i = (int)entity.getContentLength(); in toByteArray() 121 if (entity.getContentLength() > Integer.MAX_VALUE) { in toString() 124 int i = (int)entity.getContentLength(); in toString()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLength.java | 107 public int getContentLength() { in getContentLength() method in ContentLength 153 return this.getContentLength() == o.getContentLength(); in equals()
|
/external/apache-http/src/org/apache/http/entity/ |
D | BufferedHttpEntity.java | 66 if (!entity.isRepeatable() || entity.getContentLength() < 0) { in BufferedHttpEntity() 73 public long getContentLength() { in getContentLength() method in BufferedHttpEntity 77 return wrappedEntity.getContentLength(); in getContentLength()
|
D | HttpEntityWrapper.java | 87 public long getContentLength() { in getContentLength() method in HttpEntityWrapper 88 return wrappedEntity.getContentLength(); in getContentLength()
|
D | EntityTemplate.java | 65 public long getContentLength() { in getContentLength() method in EntityTemplate
|
D | ByteArrayEntity.java | 69 public long getContentLength() { in getContentLength() method in ByteArrayEntity
|
D | BasicHttpEntity.java | 69 public long getContentLength() { in getContentLength() method in BasicHttpEntity
|
D | FileEntity.java | 71 public long getContentLength() { in getContentLength() method in FileEntity
|
D | StringEntity.java | 82 public long getContentLength() { in getContentLength() method in StringEntity
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | TCPMessageChannel.java | 499 + (sipRequest.getContentLength() == null ? 0 : sipRequest in processMessage() 500 .getContentLength().getContentLength()) > sipStack in processMessage() 547 + (sipResponse.getContentLength() == null ? 0 : sipResponse in processMessage() 548 .getContentLength().getContentLength()) > sipStack in processMessage()
|
D | TLSMessageChannel.java | 468 + (sipRequest.getContentLength() == null ? 0 : sipRequest in processMessage() 469 .getContentLength().getContentLength()) > sipStack in processMessage() 526 + (sipResponse.getContentLength() == null ? 0 : sipResponse in processMessage() 527 .getContentLength().getContentLength()) > sipStack in processMessage()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 84 if (entity.isChunked() || entity.getContentLength() < 0) { in process() 91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
|
D | ResponseContent.java | 80 long len = entity.getContentLength(); in process() 84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | AdaptedHttpStack.java | 67 long contentLength = apacheResp.getEntity().getContentLength(); in executeRequest() 75 (int) apacheResp.getEntity().getContentLength(), in executeRequest()
|
D | HttpResponse.java | 69 public final int getContentLength() { in getContentLength() method in HttpResponse
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | AdaptedHttpStackTest.java | 78 when(mHttpEntity.getContentLength()).thenReturn((long) Integer.MAX_VALUE); in nonEmptyResponse() 86 assertEquals(Integer.MAX_VALUE, response.getContentLength()); in nonEmptyResponse() 96 when(mHttpEntity.getContentLength()).thenReturn(Integer.MAX_VALUE + 1L); in responseTooBig()
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | SIPMessage.java | 662 contentLengthHeader.setContentLength(cl.getContentLength()); in attachHeader() 944 return this.getContentLength(); in getContentLengthHeader() 1159 public ContentLengthHeader getContentLength() { in getContentLength() method in SIPMessage 1294 if ( (!strict && this.contentLengthHeader.getContentLength() != givenLength) in setMessageContent() 1295 || this.contentLengthHeader.getContentLength() < givenLength) { in setMessageContent() 1297 + this.contentLengthHeader.getContentLength() + " / " + givenLength, 0); in setMessageContent() 1328 if ((!computeContentLength) && this.contentLengthHeader.getContentLength() < givenLength) { in setMessageContent() 1331 + this.contentLengthHeader.getContentLength() + " / " + givenLength, 0); in setMessageContent() 1534 contentLengthHeader.setContentLength(cl.getContentLength()); in addHeader() 1707 this.contentLengthHeader.setContentLength(contentLength.getContentLength()); in setContentLength() [all …]
|
/external/nist-sip/java/javax/sip/header/ |
D | ContentLengthHeader.java | 8 int getContentLength(); in getContentLength() method
|
/external/apache-http/src/org/apache/http/ |
D | HttpEntity.java | 111 long getContentLength(); in getContentLength() method
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | HttpEntityBody.java | 31 return entity.getContentLength(); in contentLength()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
D | HttpEntityStub.java | 21 @Override public long getContentLength() { in getContentLength() method in HttpEntityStub
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 146 @Override public int getContentLength() { in getContentLength() method in DelegatingHttpsURLConnection 147 return delegate.getContentLength(); in getContentLength()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 145 @Override public int getContentLength() { in getContentLength() method in DelegatingHttpsURLConnection 146 return delegate.getContentLength(); in getContentLength()
|