Home
last modified time | relevance | path

Searched refs:getContentLength (Results 1 – 25 of 52) sorted by relevance

123

/external/nist-sip/java/gov/nist/javax/sip/parser/
DStringMsgParser.java213 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()
DPipelinedMsgParser.java293 .getContentLength(); in run()
296 contentLength = cl.getContentLength(); in run()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java73 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/
DContentLength.java107 public int getContentLength() { in getContentLength() method in ContentLength
153 return this.getContentLength() == o.getContentLength(); in equals()
/external/apache-http/src/org/apache/http/entity/
DBufferedHttpEntity.java66 if (!entity.isRepeatable() || entity.getContentLength() < 0) { in BufferedHttpEntity()
73 public long getContentLength() { in getContentLength() method in BufferedHttpEntity
77 return wrappedEntity.getContentLength(); in getContentLength()
DHttpEntityWrapper.java87 public long getContentLength() { in getContentLength() method in HttpEntityWrapper
88 return wrappedEntity.getContentLength(); in getContentLength()
DEntityTemplate.java65 public long getContentLength() { in getContentLength() method in EntityTemplate
DByteArrayEntity.java69 public long getContentLength() { in getContentLength() method in ByteArrayEntity
DBasicHttpEntity.java69 public long getContentLength() { in getContentLength() method in BasicHttpEntity
DFileEntity.java71 public long getContentLength() { in getContentLength() method in FileEntity
DStringEntity.java82 public long getContentLength() { in getContentLength() method in StringEntity
/external/nist-sip/java/gov/nist/javax/sip/stack/
DTCPMessageChannel.java499 + (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()
DTLSMessageChannel.java468 + (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/
DRequestContent.java84 if (entity.isChunked() || entity.getContentLength() < 0) { in process()
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
DResponseContent.java80 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/
DAdaptedHttpStack.java67 long contentLength = apacheResp.getEntity().getContentLength(); in executeRequest()
75 (int) apacheResp.getEntity().getContentLength(), in executeRequest()
DHttpResponse.java69 public final int getContentLength() { in getContentLength() method in HttpResponse
/external/volley/src/test/java/com/android/volley/toolbox/
DAdaptedHttpStackTest.java78 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/
DSIPMessage.java662 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/
DContentLengthHeader.java8 int getContentLength(); in getContentLength() method
/external/apache-http/src/org/apache/http/
DHttpEntity.java111 long getContentLength(); in getContentLength() method
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java31 return entity.getContentLength(); in contentLength()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpEntityStub.java21 @Override public long getContentLength() { in getContentLength() method in HttpEntityStub
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java146 @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/
DDelegatingHttpsURLConnection.java145 @Override public int getContentLength() { in getContentLength() method in DelegatingHttpsURLConnection
146 return delegate.getContentLength(); in getContentLength()

123