public class AddressParametersHeaderImpl extends ParametersImpl implements AddressParametersHeader
Address and Parameters
interfaces, such as the ToHeader and FromHeader. However, users must be able to
create to create other AddressParametersHeaders that are unknown to this implementation
so they can either extend this base class or simply just create a new
AddressParametersHeader by using the Builder.AddressParametersHeader.Builder<T extends AddressParametersHeader>| Constructor and Description |
|---|
AddressParametersHeaderImpl(Buffer name,
Address address,
Buffer params) |
| Modifier and Type | Method and Description |
|---|---|
AddressParametersHeader |
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(Object obj) |
Address |
getAddress() |
Buffer |
getValue()
Will only return the parameters.
|
protected void |
transferValue(Buffer dst)
Transfer the bytes of the value into the destination.
|
getParameter, getParameter, setParameter, setParameterclone, getBytes, getName, toString, verifyfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitframe, withgetParameter, getParameter, setParameter, setParameterpublic static final Buffer TAG
public Address getAddress()
getAddress in interface HeaderAddresspublic Buffer getValue()
getValue in interface SipHeadergetValue in class ParametersImplprotected void transferValue(Buffer dst)
SipHeaderImpltransferValue in class ParametersImplpublic AddressParametersHeader 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 SipHeaderImplCopyright © 2017. All Rights Reserved.