|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.servlet.sip.utilities.RequestModifier org.echarts.servlet.sip.utilities.VXMLRequestModifier
public class VXMLRequestModifier
RequestModifier to be used for creating dialogs with VoiceXML media servers. Supports optional NonSipPort for control events.
Field Summary | |
---|---|
static VXMLServerType |
DEFAULT_SERVER_TYPE
|
Constructor Summary | |
---|---|
VXMLRequestModifier(java.lang.String httpUri,
java.util.Properties params,
java.lang.String vxmlServer,
SipFactory factory)
Creates a VXMLRequestModifier with supplied parameters. |
|
VXMLRequestModifier(java.lang.String httpUri,
java.util.Properties params,
java.lang.String vxmlServer,
SipFactory factory,
CallbackStrategy callbackStrategy)
Creates a VXMLRequestModifier with supplied parameters. |
|
VXMLRequestModifier(java.lang.String httpUri,
java.util.Properties params,
java.lang.String vxmlServer,
SipFactory factory,
VXMLServerType serverType)
Creates a VXMLRequestModifier with supplied parameters. |
|
VXMLRequestModifier(java.lang.String httpUri,
java.util.Properties params,
java.lang.String vxmlServer,
SipFactory factory,
VXMLServerType serverType,
CallbackStrategy callbackStrategy)
Creates a VXMLRequestModifier with supplied parameters. |
Method Summary | |
---|---|
protected void |
appendParam(java.lang.StringBuffer uriBuffer,
java.lang.String propName,
java.lang.String value)
|
protected java.lang.String |
buildHttpUri(java.lang.String base,
SipServletRequest req)
|
URI |
getModifiedRequestURI(SipServletRequest req)
Provide a modified Request-URI to use in outgoing SipServletRequest. |
Methods inherited from class org.echarts.servlet.sip.utilities.RequestModifier |
---|
getModifiedFromAddress, getModifiedRoutes, modify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static VXMLServerType DEFAULT_SERVER_TYPE
Constructor Detail |
---|
public VXMLRequestModifier(java.lang.String httpUri, java.util.Properties params, java.lang.String vxmlServer, SipFactory factory, VXMLServerType serverType, CallbackStrategy callbackStrategy)
httpUri
- URI that media server will use to fetch VoiceXML scriptparams
- key-value pairs to be passed to VoiceXML scriptvxmlServer
- hostname of VoiceXML media serverfactory
- reference to SipFactoryserverType
- type of VoiceXML media servercallbackStrategy
- strategy for vxml-serving application to call back to this instance (can be null)public VXMLRequestModifier(java.lang.String httpUri, java.util.Properties params, java.lang.String vxmlServer, SipFactory factory, VXMLServerType serverType)
httpUri
- URI that media server will use to fetch VoiceXML scriptparams
- key-value pairs to be passed to VoiceXML scriptvxmlServer
- hostname of VoiceXML media serverfactory
- reference to SipFactoryserverType
- type of VoiceXML media serverpublic VXMLRequestModifier(java.lang.String httpUri, java.util.Properties params, java.lang.String vxmlServer, SipFactory factory, CallbackStrategy callbackStrategy)
httpUri
- URI that media server will use to fetch VoiceXML scriptparams
- key-value pairs to be passed to VoiceXML scriptvxmlServer
- hostname of VoiceXML media serverfactory
- reference to SipFactorycallbackStrategy
- strategy for vxml-serving application to call back to this instance (can be null)public VXMLRequestModifier(java.lang.String httpUri, java.util.Properties params, java.lang.String vxmlServer, SipFactory factory)
httpUri
- URI that media server will use to fetch VoiceXML scriptparams
- key-value pairs to be passed to VoiceXML scriptvxmlServer
- hostname of VoiceXML media serverfactory
- reference to SipFactoryMethod Detail |
---|
public URI getModifiedRequestURI(SipServletRequest req)
RequestModifier
getModifiedRequestURI
in class RequestModifier
req
- request on which to base modified Request-URI
protected java.lang.String buildHttpUri(java.lang.String base, SipServletRequest req)
req
- uriBuffer
- protected void appendParam(java.lang.StringBuffer uriBuffer, java.lang.String propName, java.lang.String value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |