|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents tel
URLs as defined by RFC 2806. Tel URLs
represent telephone numbers. SIP servlet containers may be able to
route requests based on tel URLs but are not required to.
Method Summary | |
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 |
getParameterNames()
Returns an Iterator over the names of all parameters
present in this TelURL . |
java.lang.String |
getPhoneNumber()
Returns the phone number of this TelURL . |
boolean |
isGlobal()
Returns true if this TelURL is global, and false
otherwise. |
java.lang.String |
toString()
Returns the String representation of this
TelURL . |
Methods inherited from interface javax.servlet.sip.URI |
clone, getScheme, isSipURI |
Method Detail |
public java.lang.String getPhoneNumber()
TelURL
. The
returned string includes any visual separators present in the
phone number part of the URL but does not include a
leading "+" for global tel URLs.TelURL
public boolean isGlobal()
TelURL
is global, and false
otherwise.public java.lang.String getParameter(java.lang.String key)
String
indicates flag parameter.key
- a String
specifying the parameter namepublic java.util.Iterator getParameterNames()
Iterator
over the names of all parameters
present in this TelURL
.public java.lang.String toString()
String
representation of this
TelURL
.toString
in interface URI
toString
in class java.lang.Object
String
representation of this
TelURL
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |