OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContentLength
(Results
1 - 10
of
10
) sorted by null
/external/nist-sip/java/gov/nist/javax/sip/header/
ContentLength.java
35
*
ContentLength
SIPHeader (of which there can be only one in a SIPMessage).
76
public class
ContentLength
85
*
contentLength
field.
87
protected Integer
contentLength
;
92
public
ContentLength
() {
99
public
ContentLength
(int length) {
101
this.
contentLength
= Integer.valueOf(length);
105
* get the
ContentLength
field.
109
return
contentLength
.intValue();
113
* Set the
contentLength
membe
[
all
...]
NameMap.java
129
putNameMap(CONTENT_LENGTH,
ContentLength
.class.getName()); //26
HeaderFactoryImpl.java
384
* Creates a new CSeqHeader based on the newly supplied
contentLength
value.
386
* @param
contentLength
- the new integer value of the
contentLength
.
387
* @throws InvalidArgumentException if supplied
contentLength
is less
391
public ContentLengthHeader createContentLengthHeader(int
contentLength
)
393
if (
contentLength
< 0)
394
throw new InvalidArgumentException("bad
contentLength
");
395
ContentLength
c = new
ContentLength
();
396
c.setContentLength(
contentLength
);
[
all
...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
ContentLengthParser.java
44
public ContentLengthParser(String
contentLength
) {
45
super(
contentLength
);
56
ContentLength
contentLength
= new
ContentLength
();
59
contentLength
.setContentLength(Integer.parseInt(number));
62
return
contentLength
;
PipelinedMsgParser.java
292
ContentLength
cl = (
ContentLength
) sipMessage
294
int
contentLength
= 0;
296
contentLength
= cl.getContentLength();
298
contentLength
= 0;
302
Debug.println("
contentLength
" +
contentLength
);
305
if (
contentLength
== 0) {
308
||
contentLength
< this.sizeCounter) {
309
byte[] message_body = new byte[
contentLength
];
[
all
...]
/external/nist-sip/java/gov/nist/javax/sip/stack/
MessageChannel.java
37
import gov.nist.javax.sip.header.
ContentLength
;
420
ContentLength
clengthHeader = new
ContentLength
(clength);
424
ContentLength
clengthHeader = new
ContentLength
(0);
/external/nist-sip/java/gov/nist/javax/sip/message/
SIPMessage.java
40
import gov.nist.javax.sip.header.
ContentLength
;
158
protected
ContentLength
contentLengthHeader;
243
if (!(siphdr instanceof
ContentLength
))
291
if (hisHeader instanceof
ContentLength
)
366
if (!(siphdr instanceof
ContentLength
))
427
if (!(siphdr instanceof
ContentLength
))
547
this.attachHeader(new
ContentLength
(0), false);
659
if (h instanceof
ContentLength
) {
661
ContentLength
cl = (
ContentLength
) h
[
all
...]
SIPResponse.java
37
import gov.nist.javax.sip.header.
ContentLength
;
699
|| nextHeader instanceof
ContentLength
703
|| nextHeader instanceof
ContentLength
SIPRequest.java
834
} else if (nextHeader instanceof
ContentLength
) {
838
((
ContentLength
) nextHeader).setContentLength(0);
[
all
...]
/external/libxml2/
nanohttp.c
149
int
ContentLength
; /* specified content length from HTTP header */
402
ret->
ContentLength
= -1;
835
ctxt->
ContentLength
= strtol( cur, NULL, 10 );
[
all
...]
Completed in 873 milliseconds