public interface TemplateContext extends WscContext
Modifier and Type | Method and Description |
---|---|
WscDiameterFactory |
getDiameterFactory()
Gets the diameter factory used for Diameter related message interaction.
|
WscMediaFactory |
getMediaFactory()
Gets the media factory used for Media related message interaction.
|
WscSipMessage |
getOriginatingSipMessage()
Gets any SIP message sent from the network.
|
WscProperties |
getProperties()
Get the properties from the current context.
|
RestClient |
getRestClient()
Gets the REST client for submitting outbound REST requests.
|
SdpExchangeStatus |
getSdpExchangeStatus()
Get SDP exchange status for current call.
|
Map<String,Object> |
getSecurityContext()
Gets the security context.
|
TemplateAttributeStore |
getSessionStore()
Gets the attribute store used to persist attributes associated with the current session.
|
WscSipFactory |
getSipFactory()
Gets the SIP factory used for SIP related message interaction.
|
javax.servlet.sip.SipSession.State |
getSipSessionState()
Gets the current SIP session state.
|
TemplateAttributeStore |
getSubSessionStore()
Gets the attribute store used to persist attributes associated with the current sub session.
|
Map<String,Object> |
getTaskArgs()
Gets the argument map associated with the current task.
|
TaskBuilder |
getTaskBuilder(String functionName)
Gets the task builder that supports creation of new tasks.
|
WscWebFactory |
getWebFactory()
Gets the WEB factory used for JSON related message interaction.
|
Map<String,Object> |
getWebMessage()
Gets any WEB message sent from the application.
|
getUniqueId
WscProperties getProperties()
TemplateAttributeStore getSessionStore()
RestClient getRestClient()
RestClient
instance.WscSipFactory getSipFactory()
WscWebFactory getWebFactory()
WscDiameterFactory getDiameterFactory()
WscMediaFactory getMediaFactory()
Map<String,Object> getWebMessage()
WscSipMessage getOriginatingSipMessage()
Map<String,Object> getSecurityContext()
TemplateAttributeStore getSubSessionStore()
javax.servlet.sip.SipSession.State getSipSessionState()
TaskBuilder getTaskBuilder(String functionName)
functionName
- The groovy function name to invoke while executing the future taskMap<String,Object> getTaskArgs()
SdpExchangeStatus getSdpExchangeStatus()