| Package | Description |
|---|---|
| javax.servlet.sip |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SipURI
Represents sip and sips URIs.
|
interface |
TelURL
Represents tel URLs as defined by RFC 3966.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
URI.clone()
Returns a clone of this URI.
|
URI |
SipFactory.createURI(String uri)
Returns a URI object corresponding to the specified string, which should represent an escaped SIP, SIPS, or tel URI.
|
URI |
SipServletRequest.getRequestURI()
Returns the request URI of this request.
|
URI |
SipSession.getSubscriberURI()
Returns the URI of the subscriber for which this application is invoked to serve.
|
URI |
SipServletRequest.getSubscriberURI()
Returns the URI of the subscriber for which this application is invoked to serve.
|
URI |
Address.getURI()
Returns the URI component of this Address.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
SipFactory.createAddress(URI uri)
Returns an Address with the specified URI and no display name.
|
Address |
SipFactory.createAddress(URI uri,
String displayName)
Returns a new Address with the specified URI and display name.
|
SipServletRequest |
SipFactory.createRequest(SipApplicationSession appSession,
String method,
URI from,
URI to)
Returns a new request object with the specified request method, From, and To headers.
|
void |
SipApplicationSession.encodeURI(URI uri)
Deprecated.
Encodes the ID of this SipApplicationSession into the specified URI. The container must then be prepared to associate this application session with an incoming request which was triggered by activating the encoded URI.
In the case of SIP and SIPS URIs, the container may also rewrite the host, port, and transport protocol components of the URI based on its knowledge of local listen points. When doing so it should take existing settings as a hint as to which listen point to select when it has more than one.
This method allow applications to correlate events which would otherwise be treated as being independent, that is, as belonging to different application sessions. For example, an application might send an instant message with an HTML body to someone. The IM body may then contain a SIP URI pointing back to the SIP servlet container and the application session in which the IM was generated, thus ensuring that an INVITE triggered by the IM recipient triggering that URI is associated with this application session when received by the container.
Containers are required to support rewriting of SIP and SIPS URIs.
|
ProxyBranch |
Proxy.getProxyBranch(URI uri)
Any branch has a primary URI associated with it, using which it was created.
|
void |
Proxy.proxyTo(URI uri)
Proxies a SIP request to the specified destination.
|
void |
SipServletRequest.setRequestURI(URI uri)
Sets the request URI of this request.
|
void |
Address.setURI(URI uri)
Sets the URI of this Address.
|
| Modifier and Type | Method and Description |
|---|---|
List<ProxyBranch> |
Proxy.createProxyBranches(List<? extends URI> targets)
Returns the list of
objects given a set of targets.
|
void |
Proxy.proxyTo(List<? extends URI> uris)
Proxies a SIP request to the specified set of destinations.
|
Copyright © 2014. All Rights Reserved.