public final class CallIdHeaderImpl extends SipHeaderImpl implements CallIdHeader
COMPACT_NAME, NAME
Constructor and Description |
---|
CallIdHeaderImpl() |
CallIdHeaderImpl(boolean compactForm,
Buffer value) |
CallIdHeaderImpl(Buffer value) |
Modifier and Type | Method and Description |
---|---|
CallIdHeader |
clone() |
CallIdHeader |
ensure()
If this method actually gets called it means that we are the As most things in this library are done lazily, such as framing headers, you can make sure
that a particular header has indeed been parsed to the more specific header type by calling
this method.
|
boolean |
equals(java.lang.Object obj) |
Buffer |
getCallId() |
int |
hashCode() |
getBytes, getName, getValue, toString, transferValue, verify
finalize, getClass, notify, notifyAll, wait, wait, wait
create, frame, frameCompact
public CallIdHeaderImpl()
public CallIdHeaderImpl(Buffer value)
public CallIdHeaderImpl(boolean compactForm, Buffer value)
public Buffer getCallId()
getCallId
in interface CallIdHeader
public CallIdHeader clone()
clone
in interface CallIdHeader
clone
in interface SipHeader
clone
in class SipHeaderImpl
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public CallIdHeader ensure()
SipHeaderImpl
ContactHeader
but it is still in its "raw" form and therefore represented as a
SipHeader
as opposed to an actual ContactHeader
but by calling this method
you will force the library to actually fully frame it.ensure
in interface SipHeader
ensure
in class SipHeaderImpl
Copyright © 2014. All Rights Reserved.