Lines Matching defs:contentLength
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 member
114 * @param contentLength int to set
116 public void setContentLength(int contentLength)
118 if (contentLength < 0)
121 + ", ContentLength, setContentLength(), the contentLength parameter is <0");
122 this.contentLength = Integer.valueOf(contentLength);
134 if (contentLength == null)
137 buffer.append(contentLength.toString());
145 if (other instanceof ContentLength)