|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for any type of URI. These are used in the request line of SIP requests to identify the callee and also in Contact, From, and To headers.
The only feature common to all URIs is that they can be represented as strings beginning with a token identifying the scheme of the URI followed by a colon followed by a scheme-specific part.
The generic syntax of URIs is defined in RFC 2396.
Method Summary | |
java.lang.Object |
clone()
Returns a clone of this SipURI . |
java.lang.String |
getScheme()
Returns the scheme of this URI ,
for example "sip", "sips" or "tel". |
boolean |
isSipURI()
Returns true if the scheme is "sip" or "sips", false otherwise. |
java.lang.String |
toString()
Returns the value of this URI as a String . |
Method Detail |
public java.lang.String getScheme()
URI
,
for example "sip", "sips" or "tel".URI
public java.lang.String toString()
URI
as a String
.
The result must be appropriately URL escaped.toString
in class java.lang.Object
String
value of this URI
public boolean isSipURI()
public java.lang.Object clone()
SipURI
.clone
in class java.lang.Object
SipURI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |