|
||||||||||
| 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 | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this Parameterable. |
boolean |
equals(java.lang.Object o)
Compares the given Parameterable type with this one. |
java.lang.String |
getParameter(java.lang.String key)
Returns the value of the named parameter, or null if it is not set. |
java.util.Iterator<java.lang.String> |
getParameterNames()
Returns an Iterator of the names of all parameters contained in this object. |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getParameters()
Returns a Collection view of the parameter name-value mappings contained in this Parameterable. |
java.lang.String |
getValue()
Returns the field value as a string. |
void |
removeParameter(java.lang.String name)
Removes the named parameter from this object. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Sets the value of the named parameter. |
void |
setValue(java.lang.String value)
Set the value of the field. |
| Method Detail |
|---|
java.lang.Object clone()
boolean equals(java.lang.Object o)
equals in class java.lang.Objectjava.lang.String getParameter(java.lang.String key)
java.util.Iterator<java.lang.String> getParameterNames()
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getParameters()
java.lang.String getValue()
void removeParameter(java.lang.String name)
void setParameter(java.lang.String name,
java.lang.String value)
void setValue(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||