Address.Builder| Constructor and Description |
|---|
AddressImpl(Buffer original,
Buffer displayName,
URI uri) |
| Modifier and Type | Method and Description |
|---|---|
Address.Builder |
copy()
An
Address is an immutable object so if you wish to change something
you have to create a copy of it. |
void |
getBytes(Buffer dst) |
Buffer |
getDisplayName()
Get the display name of this
Address or an empty buffer if it is
not set. |
URI |
getURI()
|
Buffer |
toBuffer()
Get the
Address as a raw buffer. |
String |
toString() |
public Address.Builder copy()
AddressAddress is an immutable object so if you wish to change something
you have to create a copy of it.public Buffer getDisplayName()
AddressAddress or an empty buffer if it is
not set.getDisplayName in interface Addresspublic URI getURI() throws SipParseException
AddressgetURI in interface AddressIOExceptionIndexOutOfBoundsExceptionSipParseExceptionCopyright © 2020. All Rights Reserved.