|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.servlet.sip.message.SipFactoryFacade
public class SipFactoryFacade
Facade object which masks the internal SipFactoryImpl
object from the web application.
| Constructor Summary | |
|---|---|
SipFactoryFacade(SipFactoryImpl sipFactoryImpl,
SipContext sipContext)
|
|
| Method Summary | |
|---|---|
Address |
createAddress(java.lang.String sipAddress)
|
Address |
createAddress(URI uri)
|
Address |
createAddress(URI uri,
java.lang.String displayName)
|
SipApplicationSession |
createApplicationSession()
|
SipApplicationSession |
createApplicationSessionByAppName(java.lang.String arg0)
|
SipApplicationSession |
createApplicationSessionByKey(java.lang.String sipApplicationKey)
|
AuthInfo |
createAuthInfo()
|
Parameterable |
createParameterable(java.lang.String s)
|
SipServletRequest |
createRequest(SipApplicationSession appSession,
java.lang.String method,
Address from,
Address to)
|
SipServletRequest |
createRequest(SipApplicationSession appSession,
java.lang.String method,
java.lang.String from,
java.lang.String to)
|
SipServletRequest |
createRequest(SipApplicationSession appSession,
java.lang.String method,
URI from,
URI to)
|
SipServletRequest |
createRequest(SipServletRequest origRequest,
boolean sameCallId)
|
SipURI |
createSipURI(java.lang.String user,
java.lang.String host)
|
URI |
createURI(java.lang.String uri)
|
void |
removeHttpSession()
Remove the http session in the sip Factory's thread local |
javax.servlet.http.HttpSession |
retrieveHttpSession()
Retrieve the http session previously stored in the sip Factory's thread local |
void |
storeHttpSession(javax.servlet.http.HttpSession httpSession)
Store the http session in the sip Factory's thread local |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SipFactoryFacade(SipFactoryImpl sipFactoryImpl,
SipContext sipContext)
| Method Detail |
|---|
public Address createAddress(java.lang.String sipAddress)
throws ServletParseException
createAddress in interface SipFactoryServletParseExceptionpublic Address createAddress(URI uri)
createAddress in interface SipFactory
public Address createAddress(URI uri,
java.lang.String displayName)
createAddress in interface SipFactorypublic SipApplicationSession createApplicationSession()
createApplicationSession in interface SipFactory
public Parameterable createParameterable(java.lang.String s)
throws ServletParseException
createParameterable in interface SipFactoryServletParseException
public SipServletRequest createRequest(SipApplicationSession appSession,
java.lang.String method,
Address from,
Address to)
createRequest in interface SipFactory
public SipServletRequest createRequest(SipApplicationSession appSession,
java.lang.String method,
java.lang.String from,
java.lang.String to)
throws ServletParseException
createRequest in interface SipFactoryServletParseException
public SipServletRequest createRequest(SipApplicationSession appSession,
java.lang.String method,
URI from,
URI to)
createRequest in interface SipFactory
public SipServletRequest createRequest(SipServletRequest origRequest,
boolean sameCallId)
createRequest in interface SipFactory
public SipURI createSipURI(java.lang.String user,
java.lang.String host)
createSipURI in interface SipFactory
public URI createURI(java.lang.String uri)
throws ServletParseException
createURI in interface SipFactoryServletParseExceptionpublic void storeHttpSession(javax.servlet.http.HttpSession httpSession)
httpSession - the http session to store for later retrievalpublic void removeHttpSession()
public javax.servlet.http.HttpSession retrieveHttpSession()
public SipApplicationSession createApplicationSessionByKey(java.lang.String sipApplicationKey)
createApplicationSessionByKey in interface SipFactorypublic AuthInfo createAuthInfo()
createAuthInfo in interface SipFactorypublic SipApplicationSession createApplicationSessionByAppName(java.lang.String arg0)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||