|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.sip.Address
public class Address
Address of a SIP agent. Used by the SIP "Alert-Info", "Contact", "Error-info", "From", "Record-Route", "Reply-To", "Route" and "To" headers.
Constructor Summary | |
---|---|
Address()
Default constructor. |
|
Address(Reference reference)
Constructor. |
|
Address(Reference reference,
String displayName)
Constructor. |
|
Address(String reference,
String displayName)
Constructor. |
Method Summary | |
---|---|
protected Object |
clone()
|
String |
getDisplayName()
Returns the optional name displayed. |
Series<Parameter> |
getParameters()
Returns the list of generic parameters. |
Reference |
getReference()
Returns the address reference. |
void |
setDisplayName(String displayName)
Sets the optional name displayed. |
void |
setParameters(Series<Parameter> parameters)
Sets the list of generic parameters. |
void |
setReference(Reference reference)
Sets the address reference. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Address()
public Address(Reference reference)
reference
- The address reference.public Address(Reference reference, String displayName)
reference
- The address reference.displayName
- The name displayed.public Address(String reference, String displayName)
reference
- The address reference.displayName
- The name displayed.Method Detail |
---|
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getDisplayName()
public Series<Parameter> getParameters()
public Reference getReference()
public void setDisplayName(String displayName)
displayName
- The optional name displayed.public void setParameters(Series<Parameter> parameters)
parameters
- The list of generic parameters.public void setReference(Reference reference)
reference
- The address reference.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |