| |
|
| java.lang.Object gov.nist.core.GenericObject gov.nist.siplite.header.Header gov.nist.siplite.header.ParameterLessHeader gov.nist.siplite.header.CSeqHeader
Constructor Summary | |
public | CSeqHeader() Constructor. | public | CSeqHeader(int seqno, String method) Constructor given the sequence number and method. |
CSeqHeader | public CSeqHeader()(Code) | | Constructor.
|
CSeqHeader | public CSeqHeader(int seqno, String method)(Code) | | Constructor given the sequence number and method.
Parameters: seqno - is the sequence number to assign. Parameters: method - is the method string. |
clone | public Object clone()(Code) | | Copies the current instance.
copy of current object |
encodeBody | public String encodeBody()(Code) | | Return canonical header content. (encoded header except headerName:)
encoded string. |
equals | public boolean equals(Object other)(Code) | | Compare two cseq headers for equality.
Parameters: other - Object to compare against. true if the two cseq headers are equals, falseotherwise. |
getMethod | public String getMethod()(Code) | | Get the method.
String the method. |
getSequenceNumber | public int getSequenceNumber()(Code) | | Gets the sequence number of this CSeqHeaderHeader.
sequence number of the CSeqHeaderHeader |
getValue | public Object getValue()(Code) | | Gets the header value.
the header value |
setMethod | public void setMethod(String meth)(Code) | | Set the method member
Parameters: meth - -- String to set |
setSequenceNumber | public void setSequenceNumber(int sequenceNumber)(Code) | | Sets the sequence number of this CSeqHeaderHeader. The sequence number
MUST be expressible as a 32-bit unsigned integer and MUST be less than
2**31.
Parameters: sequenceNumber - - the sequence number to set. throws: InvalidArgumentException - -- if the seq number is <= 0 |
Fields inherited from gov.nist.siplite.header.ParameterLessHeader | public static Class clazz(Code)(Java Doc)
|
|
|
|