public class FromHeaderImpl extends AddressParametersHeaderImpl implements FromHeader
FromHeader.BuilderTAGNAME| Constructor and Description |
|---|
FromHeaderImpl(Address address,
Buffer params) |
| Modifier and Type | Method and Description |
|---|---|
FromHeader |
clone() |
FromHeader |
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.
|
Buffer |
getTag()
Get the tag parameter.
|
equals, getAddress, getValue, transferValuegetParameter, getParameter, setParameter, setParametergetBytes, getName, toString, verifyfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitframe, generateTag, with, withwithgetAddressgetParameter, getParameter, setParameter, setParameterpublic Buffer getTag() throws SipParseException
getTag in interface FromHeaderSipParseException - in case anything goes wrong while extracting tag.public FromHeader clone()
clone in interface FromHeaderclone in interface SipHeaderclone in class SipHeaderImplpublic FromHeader ensure()
SipHeaderImplContactHeader 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 SipHeaderensure in class AddressParametersHeaderImplCopyright © 2017. All Rights Reserved.