| javax.sip.address.URI
URI | public interface URI extends Cloneable,Serializable(Code) | | This class represents a generic URI. This is the base interface for any
type of URI. These are used in SIP requests to identify the callee and also
in Contact, From, and To headers.
The generic syntax of URIs is defined in
RFC 2396.
See Also: TelURL See Also: SipURI author: BEA Systems, NIST version: 1.2 |
Method Summary | |
public Object | clone() Creates and returns a deep copy of the URI. | public String | getScheme() Returns the value of the "scheme" of this URI, for example "sip", "sips"
or "tel". | public boolean | isSipURI() This method determines if this is a URI with a scheme of "sip" or "sips". | public String | toString() This method returns the URI as a string. |
clone | public Object clone()(Code) | | Creates and returns a deep copy of the URI. This methods must ensure a
deep copy of the URI, so that when a URI is cloned the URI can be
modified without effecting the original URI. This provides useful
functionality for proxying Requests and Responses. This method overrides
the clone method in java.lang.Object.
a deep copy of URI |
getScheme | public String getScheme()(Code) | | Returns the value of the "scheme" of this URI, for example "sip", "sips"
or "tel".
the scheme paramter of the URI |
isSipURI | public boolean isSipURI()(Code) | | This method determines if this is a URI with a scheme of "sip" or "sips".
true if the scheme is "sip" or "sips", false otherwise. |
toString | public String toString()(Code) | | This method returns the URI as a string.
String The stringified version of the URI |
|
|