org.mobicents.servlet.sip.core
Class ApplicationRoutingHeaderComposer

java.lang.Object
  extended by org.mobicents.servlet.sip.core.ApplicationRoutingHeaderComposer

public class ApplicationRoutingHeaderComposer
extends java.lang.Object

This class manipulates strings representing the AR stack for cases when the container behaves as UAC. When the container acts as UAC the AR must be stored in the from-tag of the outgoing request. The string looks like this: uniqueValue!appname1!handler1!appname2!handler2!appname3!handler3!...!...

Author:
vralev

Nested Class Summary
static class ApplicationRoutingHeaderComposer.ApplicationRouterNode
           
 
Constructor Summary
ApplicationRoutingHeaderComposer(java.util.Map<java.lang.String,java.lang.String> hashMap)
           
ApplicationRoutingHeaderComposer(java.util.Map<java.lang.String,java.lang.String> hashMap, java.lang.String text)
           
 
Method Summary
 void addNode(ApplicationRoutingHeaderComposer.ApplicationRouterNode node)
           
 ApplicationRoutingHeaderComposer.ApplicationRouterNode getLast()
           
 void removeLast()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationRoutingHeaderComposer

public ApplicationRoutingHeaderComposer(java.util.Map<java.lang.String,java.lang.String> hashMap)

ApplicationRoutingHeaderComposer

public ApplicationRoutingHeaderComposer(java.util.Map<java.lang.String,java.lang.String> hashMap,
                                        java.lang.String text)
Method Detail

addNode

public void addNode(ApplicationRoutingHeaderComposer.ApplicationRouterNode node)

removeLast

public void removeLast()

getLast

public ApplicationRoutingHeaderComposer.ApplicationRouterNode getLast()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.