Package | Description |
---|---|
javax.servlet.sip |
The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 359, this v2.0 version updates v1.1 developed under JSR 289.
|
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 |
SipServletRequest.getSubscriberURI()
Returns the URI of the subscriber for which this application
is invoked to serve.
|
URI |
SipSession.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.
has potential to break application composition
instead of this use the SipApplicationKey mechanism
as described in section 15.11.2 in the SIP Servlet
specification document.
|
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.
|
SipURI |
DnsResolver.resolveToSipURI(URI uri)
Resolve a
TelURL or a SipURI with user=phone parameter
to a SIP URI according to the procedures specified in RFC 3824 and RFC 6116. |
List<SipURI> |
DnsResolver.resolveToSipURIs(URI uri)
Resolve a
TelURL or a SipURI with user=phone parameter
to SIP URIs according to the procedures specified in RFC 3824 and RFC 6116. |
List<String> |
DnsResolver.resolveToStrings(URI uri,
String enumService)
Resolve a
TelURL or a SipURI with user=phone parameter
to URIs according to the procedures specified in RFC 6116 for the
specified enum service. |
void |
SipServletRequest.setRequestURI(URI uri)
Sets the request URI of this request.
|
void |
Address.setURI(URI uri)
Sets the URI of this
Address . |
String |
DnsResolver.toEnum(URI uri)
Get string representation of a
TelURL or a SipURI in ENUM format, per RFC 6116. |
Modifier and Type | Method and Description |
---|---|
List<ProxyBranch> |
Proxy.createProxyBranches(List<? extends URI> targets)
Returns the list of
ProxyBranch objects given a set of targets. |
void |
Proxy.proxyTo(List<? extends URI> uris)
Proxies a SIP request to the specified set of destinations.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.