|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UriUtils
Some utilities for working with URIs and SIP URIs.
| Method Summary | |
|---|---|
String |
getHostInSipUri(URI sipUri)
Returns the host portion of a SIP URI (in the form of an opaque java.net.URI). |
int |
getPersonIdInSipUri(URI sipUri)
Returns the user portion of a SIP URI (in the form of an opaque java.net.URI) as a Little Shoot person identifier. |
int |
getPortInSipUri(URI uri)
Extracts the port from a SIP URI. |
URI |
getSipUri(String host)
Returns a SIP URI for a given host of the form "sip:host". |
URI |
getSipUri(String host,
int port)
Returns a SIP URI for a given host and port of the form "sip:host:port". |
URI |
getSipUri(String host,
int port,
String transport)
Returns a SIP URI for a given host and port of the form "sip:host:port". |
URI |
getUri(String uriString)
Returns a URI from a string. |
URI |
getUriForHost(String host)
Returns a URI from a host. |
URI |
getUriWithPort(URI uri,
int port)
Returns a URI with a modified port. |
String |
getUserInSipUri(URI sipUri)
Returns the user portion of a SIP URI (in the form of an opaque java.net.URI). |
| Method Detail |
|---|
URI getUri(String uriString)
uriString - The string containing a URI-formatting string.
URI getUriForHost(String host)
host - The host.
URI getSipUri(String host)
host - The host.
URI getSipUri(String host,
int port)
host - The host.port - The port.
URI getSipUri(String host,
int port,
String transport)
host - The host.port - The port.transport - The transport to be used to connect.
URI getUriWithPort(URI uri,
int port)
uri - The original URI.port - The new port.
String getUserInSipUri(URI sipUri)
sipUri - The URI.
String getHostInSipUri(URI sipUri)
sipUri - The URI.
int getPersonIdInSipUri(URI sipUri)
sipUri - The URI.
int getPortInSipUri(URI uri)
uri - The URI to extract the port from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||