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 | Method and Description |
---|---|
Address |
SipFactory.createAddress(String addr)
Returns a
Address corresponding to the specified
string. |
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. |
Address |
SipServletMessage.getAddressHeader(String name)
Returns the value of the specified header as a
Address object. |
Address |
SipServletMessage.getFrom()
Returns the value of the From header.
|
Address |
SipServletRequest.getInitialPoppedRoute()
If a top route header had been removed by the container upon
initially receiving this request, then this method can be used to
retrieve it.
|
Address |
SipSession.getLocalParty()
Returns the
Address identifying the local party. |
Address |
SipServletRequest.getPoppedRoute()
If a top route header had been removed by the container upon receiving
this request, then this method can be used to retrieve it.
|
Address |
SipSession.getRemoteParty()
Returns the
Address identifying the remote party. |
Address |
SipServletMessage.getTo()
Returns the value of the To header.
|
Modifier and Type | Method and Description |
---|---|
List<Address> |
SipServletMessage.getAddressHeaderList(String name)
Returns a
List of all Address
header field values for the specified header. |
ListIterator<Address> |
SipServletMessage.getAddressHeaders(String name)
Returns a
ListIterator over all Address
header field values for the specified header. |
Modifier and Type | Method and Description |
---|---|
void |
SipServletMessage.addAddressHeader(String name,
Address addr,
boolean first)
Adds the specified
Address as a new value of the
named header field. |
SipServletRequest |
SipFactory.createRequest(SipApplicationSession appSession,
String method,
Address from,
Address to)
Returns a new request object with the specified request method, From,
and To headers.
|
void |
SipServletMessage.pushPath(Address uri)
Adds a Path header field value to this message.
|
void |
SipServletRequest.pushRoute(Address uri)
Adds a Route header field value to this request with Address argument.
|
void |
SipServletMessage.setAddressHeader(String name,
Address addr)
Sets the header with the specified name to have the value
specified by the address argument.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.