public interface SipAddress
javax.servlet.sip.Address
.Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the display name of this Address.
|
int |
getExpires()
Returns the value of the "expires" parameter as delta-seconds.
|
String |
getParameter(String key)
Returns the value of the named parameter, or null if it is not set.
|
Iterator |
getParameterNames()
Returns an Iterator of the names of all parameters contained in this
object.
|
Set |
getParameters()
Returns a Collection view of the parameter name-value mappings contained
in this Parameterable.
|
SipURI |
getURI()
Returns the URI component of this Address.
|
String |
getValue()
Returns the field value as a string.
|
void |
removeParameter(String name)
Removes the named parameter from this object.
|
void |
setDisplayName(String name)
Sets the display name of this Address.
|
void |
setParameter(String name,
String value)
Sets the value of the named parameter.
|
void |
setValue(String value)
Set the value of the field.
|
String getParameter(String key)
javax.servlet.sip.Address#getParameter(String)
key
- a String specifying the parameter nameIllegalArgumentException
- if key is nullIterator getParameterNames()
javax.servlet.sip.Address#getParameterNames()
Set getParameters()
javax.servlet.sip.Address#getParameters()
String getValue()
javax.servlet.sip.Address#getValue()
void removeParameter(String name)
javax.servlet.sip.Address#removeParameter(String)
name
- parameter nameIllegalArgumentException
- if name is nullIllegalStateException
- if parameters cannot be modified for this objectvoid setParameter(String name, String value)
javax.servlet.sip.Address#setParameter(String, String)
name
- parameter namevalue
- new parameter valueIllegalArgumentException
- if name parameter is nullIllegalStateException
- if parameters cannot be modified for this objectvoid setValue(String value)
javax.servlet.sip.Address#setValue(String)
value
- the new header field value, not including parametersIllegalArgumentException
- if value parameter is nullIllegalStateException
- if the header field cannot be modified for this objectString getDisplayName()
javax.servlet.sip.Address#getDisplayName()
int getExpires()
javax.servlet.sip.Address#getExpires()
SipURI getURI()
javax.servlet.sip.Address#getURI()
void setDisplayName(String name)
javax.servlet.sip.Address#setDisplayName(String)
name
- display nameIllegalArgumentException
- if name is nullIllegalStateException
- if this Address is used in a context where it cannot be
modifiedCopyright © 2016 Avaya. All Rights Reserved.