| Modifier and Type | Method and Description |
|---|---|
Address |
build() |
Address.AddressBuilder |
displayName(Buffer displayName) |
Address.AddressBuilder |
displayName(String displayName) |
Address.AddressBuilder |
host(Buffer host)
Use this host for the URI with this
Address. |
Address.AddressBuilder |
port(int port)
|
Address.AddressBuilder |
uri(URI uri) |
Address.AddressBuilder |
user(Buffer user)
|
public Address.AddressBuilder user(Buffer user)
SipURI that will be part of this Address. See
host(Buffer) for more information.user - public Address.AddressBuilder port(int port)
SipURI that will be part of this Address. See
host(Buffer) for more information.port - public Address.AddressBuilder host(Buffer host)
Address. This is a convenient way of creating
an Address with a SipURI and is the same as:
SipURI uri = SipURI.with().host(host).build(); Address.with(uri);NOTE: you cannot specify a host and also specify a URI since those would conflict and an exception will occur at the time you try and
build() the address.host - public Address.AddressBuilder displayName(Buffer displayName)
public Address.AddressBuilder displayName(String displayName)
public Address.AddressBuilder uri(URI uri)
public Address build() throws SipParseException
SipParseExceptionCopyright © 2017. All Rights Reserved.