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 |
---|---|
SipSession |
SipSessionsUtil.getCorrespondingSipSession(SipSession session,
String headerName)
Returns related SipSession.
|
SipSession |
B2buaHelper.getLinkedSession(SipSession session)
Returns the other SipSession that is linked to the specified SipSession,
or null if none.
|
SipSession |
SipSessionBindingEvent.getSession()
Deprecated.
Returns the session to or from which the object is bound or unbound.
|
SipSession |
SipServletMessage.getSession()
Returns the
SipSession to which this message belongs. |
SipSession |
SipSessionEvent.getSession()
Returns the session that changed.
|
SipSession |
InviteBranch.getSession()
Return the
SipSession object where the InviteBranch belongs to |
SipSession |
SipServletMessage.getSession(boolean create)
Returns the
SipSession to which this message belongs. |
SipSession |
SipApplicationSession.getSipSession(String id)
Returns the
SipSession with the specified id belonging
to this application session, or null if not found. |
Modifier and Type | Method and Description |
---|---|
Set<SipSession> |
ForkingContext.getSipSessions()
An immutable
Set of SipSession objects which are derived sessions on the same forking context. |
Modifier and Type | Method and Description |
---|---|
SipServletRequest |
B2buaHelper.createCancel(SipSession session)
Creates a new CANCEL request to cancel the initial request sent on the other
leg.
|
SipServletRequest |
B2buaHelper.createRequest(SipSession session,
SipServletRequest origRequest,
Map<String,List<String>> headerMap)
Creates a new subsequent request based on the specified original
request.
|
SipServletResponse |
B2buaHelper.createResponseToOriginalRequest(SipSession session,
int status,
String reasonPhrase)
The request that results in creation of a SipSession is termed as the
original request, a response to this original request can be created by
the application even if the request was committed and application does
not have a reference to this Request.
|
SipSession |
SipSessionsUtil.getCorrespondingSipSession(SipSession session,
String headerName)
Returns related SipSession.
|
SipSession |
B2buaHelper.getLinkedSession(SipSession session)
Returns the other SipSession that is linked to the specified SipSession,
or null if none.
|
List<SipServletMessage> |
B2buaHelper.getPendingMessages(SipSession session,
UAMode mode)
For the specified SipSession, returns a List of all uncommitted messages
in the order of increasing CSeq number for the given mode of the session.
|
void |
SessionKeepAlive.Callback.handle(SipSession session)
Execute the task with a particular
SipSession |
void |
B2buaHelper.linkSipSessions(SipSession session1,
SipSession session2)
Links the specified sessions, such that there is a 1-1 mapping
between them.
|
void |
ForkingContext.terminateDialogs(AutomaticProcessingListener listener,
SipSession... exclude)
Terminates dialogs of all
SipSession objects in this forking context. |
void |
B2buaHelper.unlinkSipSessions(SipSession session)
If the specified SipSession is linked to another session, then unlinks
the two sessions from each other.
|
Constructor and Description |
---|
SipSessionBindingEvent(SipSession session,
String name)
Deprecated.
Constructs an event that notifies an object that it has been bound
to or unbound from a session.
|
SipSessionEvent(SipSession source)
Construct a session event from the given source.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.