|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipSessionsUtil
A utility class providing additional support for converged HTTP/SIP applications and converged J2EE/SIP applications. This class can be accessed through the ServletContext parameter named javax.servlet.sip.SipSessionsUtil or it can be injected using the @Resource annotation. Since: 1.1
| Method Summary | |
|---|---|
SipApplicationSession |
getApplicationSessionById(String applicationSessionId)
Returns the SipApplicationSession for a given applicationSessionId. |
SipApplicationSession |
getApplicationSessionByKey(String applicationSessionKey,
boolean create)
Returns the SipApplicationSession for a given session applicationSessionKey. |
SipSession |
getCorrespondingSipSession(SipSession session,
String headerName)
Returns related SipSession. |
| Method Detail |
|---|
SipApplicationSession getApplicationSessionById(String applicationSessionId)
SipApplicationSession getApplicationSessionByKey(String applicationSessionKey,
boolean create)
applicationSessionKey - session applicationSessionKey of the SipApplicationSessioncreate - controls whether new session should be created upon lookup failure
NullPointerException - if the applicationSessionKey is null.
SipSession getCorrespondingSipSession(SipSession session,
String headerName)
session - one of the two related SIP sessions. For example, it can be the joining session or the replacing session.headerName - the header name through which the association is made. For example, for RFC 3911, it is Join, for RFC 3891, it is Replaces
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||