|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parameterable
The Parameterable interface is used to indicate a SIP header field value with optional parameters. All of the Address header fields are Parameterable, including Contact, From, To, Route, Record-Route, and Reply-To. In addition, the header fields Accept, Accept-Encoding, Alert-Info, Call-Info, Content-Disposition, Content-Type, Error-Info, Retry-After and Via are also Parameterable.
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this Parameterable. |
boolean |
equals(Object o)
Compares the given Parameterable type with this one. |
String |
getParameter(String key)
Returns the value of the named parameter, or null if it is not set. |
Iterator<String> |
getParameterNames()
Returns an Iterator of the names of all parameters contained in this object. |
Set<Map.Entry<String,String>> |
getParameters()
Returns a Collection view of the parameter name-value mappings contained in this Parameterable. |
String |
getValue()
Returns the field value as a string. |
void |
removeParameter(String name)
Removes the named parameter from this object. |
void |
setParameter(String name,
String value)
Sets the value of the named parameter. |
void |
setValue(String value)
Set the value of the field. |
| Method Detail |
|---|
Object clone()
boolean equals(Object o)
equals in class ObjectString getParameter(String key)
Iterator<String> getParameterNames()
Set<Map.Entry<String,String>> getParameters()
String getValue()
void removeParameter(String name)
void setParameter(String name,
String value)
void setValue(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||