|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.servlet.sip.utilities.CallbackUrlFormatter
public class CallbackUrlFormatter
Utility class to format a URL that can be used to callback to a SIP app. Relies on implementation of ContainerAdapter.getHttpPort() for the executing container.
| Constructor Summary | |
|---|---|
CallbackUrlFormatter(SipApplicationSession appSession,
java.lang.String serverInfo)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPrefix()
Calculates a prefix for the callback URL of the form http:// |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallbackUrlFormatter(SipApplicationSession appSession,
java.lang.String serverInfo)
appSession - Active SipApplicationSession to be called backserverInfo - String specifying server info (from getServerInfo())| Method Detail |
|---|
public java.lang.String getPrefix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||