Home
last modified time | relevance | path

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

12

/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.java68 if (entity.getContentLength() > Integer.MAX_VALUE) { in toByteArray()
71 int i = (int)entity.getContentLength(); in toByteArray()
116 if (entity.getContentLength() > Integer.MAX_VALUE) { in toString()
119 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.java61 if (!entity.isRepeatable() || entity.getContentLength() < 0) { in BufferedHttpEntity()
68 public long getContentLength() { in getContentLength() method in BufferedHttpEntity
72 return wrappedEntity.getContentLength(); in getContentLength()
DHttpEntityWrapper.java82 public long getContentLength() { in getContentLength() method in HttpEntityWrapper
83 return wrappedEntity.getContentLength(); in getContentLength()
DEntityTemplate.java60 public long getContentLength() { in getContentLength() method in EntityTemplate
DByteArrayEntity.java64 public long getContentLength() { in getContentLength() method in ByteArrayEntity
DBasicHttpEntity.java64 public long getContentLength() { in getContentLength() method in BasicHttpEntity
DFileEntity.java66 public long getContentLength() { in getContentLength() method in FileEntity
DInputStreamEntity.java68 public long getContentLength() { in getContentLength() method in InputStreamEntity
DStringEntity.java77 public long getContentLength() { in getContentLength() method in StringEntity
DSerializableEntity.java76 public long getContentLength() { in getContentLength() method in SerializableEntity
/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java79 if (entity.isChunked() || entity.getContentLength() < 0) { in process()
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
DResponseContent.java75 long len = entity.getContentLength(); in process()
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
DRequestExpectContinue.java68 if (entity != null && entity.getContentLength() != 0) { in process()
/external/nist-sip/java/gov/nist/javax/sip/stack/
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()
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()
/external/nist-sip/java/javax/sip/header/
DContentLengthHeader.java8 int getContentLength(); in getContentLength() method
/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/apache-http/src/org/apache/http/
DHttpEntity.java106 long getContentLength(); in getContentLength() method
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DDownloadInfo.java79 public long getContentLength() { in getContentLength() method in DownloadInfo
233 .setContentLength(downloadInfo.getContentLength()) in fromDownloadInfo()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpTransport.java88 long contentLength = httpEngine.requestHeaders.getContentLength(); in createRequestBody()
209 if (httpEngine.responseHeaders.getContentLength() != -1) { in getTransferStream()
211 httpEngine.responseHeaders.getContentLength()); in getTransferStream()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpEntityStub.java22 @Override public long getContentLength() { in getContentLength() method in HttpEntityStub
/external/nist-sip/java/javax/sip/message/
DMessage.java34 ContentLengthHeader getContentLength(); in getContentLength() method

12