|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SipURI
| Method Summary | |
|---|---|
java.lang.String |
getHeader(java.lang.String name)Returns the value of the specified header. |
java.util.Iterator<java.lang.String> |
getHeaderNames()Returns an Iterator over the names of all headers present in this SipURI. |
java.lang.String |
getHost()Returns the host part of this SipURI. |
boolean |
getLrParam()Returns true if the "lr" flag parameter is set, and false otherwise. |
int |
getPort()Returns the port number of this SipURI, or -1 if this is not set. |
java.lang.String |
getUser()Returns the user part of this SipURI. |
java.lang.String |
getUserParam()Returns the value of the "user" parameter, or null if this is not set. |
void |
removeHeader(java.lang.String name)Removes the specified Header |
void |
setHeader(java.lang.String name, java.lang.String value)Sets the value of the specified header in this SipURI. |
void |
setHost(java.lang.String host)Sets the host part of this SipURI. |
void |
setLrParam(boolean lr)Sets or removes the "lr" parameter depending on the value of the flag. |
void |
setPort(int port)Sets the port number of this SipURI. |
void |
setUser(java.lang.String user)Sets the user part of this SipURI. |
void |
setUserParam(java.lang.String userParam)ets the value of the "user" parameter. |
java.lang.String |
toString()Returns the String representation of this SipURI. |
| Methods inherited from interface com.convergin.common.sal.ext.api.URI |
|---|
clone, equals, getParameter, getParameterNames, getScheme, isSipURI, removeParameter, setParameter |
| Method Detail |
|---|
java.lang.String getUser()
SipURI.SipURIvoid setUser(java.lang.String user)
SipURI.user - - the new user partjava.lang.String getHost()
SipURI.SipURIvoid setHost(java.lang.String host)
SipURI. This should be a fully qualified domain name or a numeric IP address.host - - the new host nameint getPort()
SipURI, or -1 if this is not set.SipURIvoid setPort(int port)
SipURI.port - - the new port number. A negative value means the port number is not set and a subsequent call to getPort() should return -1.java.lang.String getUserParam()
getParameter("user").void setUserParam(java.lang.String userParam)
setParameter("user", user).userParam - new value for the "user" parameterboolean getLrParam()
"".equals(getParameter("lr")).void setLrParam(boolean lr)
lr - specifies that the "lr" flag parameter is to be set (true) or removed (false)java.lang.String getHeader(java.lang.String name)
sip:joe@example.com?Priority=emergency has a header "Priority" whose value is "emergency".name - the header nameSipURI
void setHeader(java.lang.String name,
java.lang.String value)
SipURI.name - header namevalue - header valuevoid removeHeader(java.lang.String name)
name - Header namejava.util.Iterator<java.lang.String> getHeaderNames()
Iterator over the names of all headers present in this SipURI.Iterator over all header namesjava.lang.String toString()
String representation of this SipURI.toString in interface URItoString in class java.lang.Objectsip or sips URI as a String
|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||