org.mobicents.servlet.sip.utils
Class JvmRouteUtil

java.lang.Object
  extended by org.mobicents.servlet.sip.utils.JvmRouteUtil

public class JvmRouteUtil
extends java.lang.Object

Cluster-enables app servers append the jvmRoute string to the jsessionid like "dKd86*gdygs8fd.node1", where "dKd86*gdygs8fd" is the session id and "node1" is the JvmRoute. These utils just remove the jvmRoute. jvmROute is the ,machines id of the machine where the LB has landed the http session first.

Author:
vralev

Constructor Summary
JvmRouteUtil()
           
 
Method Summary
static java.lang.String extractJvmRoute(java.lang.String sid)
           
static java.lang.String removeJvmRoute(java.lang.Object sid)
           
static java.lang.String removeJvmRoute(java.lang.String sid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmRouteUtil

public JvmRouteUtil()
Method Detail

removeJvmRoute

public static java.lang.String removeJvmRoute(java.lang.String sid)

removeJvmRoute

public static java.lang.String removeJvmRoute(java.lang.Object sid)

extractJvmRoute

public static java.lang.String extractJvmRoute(java.lang.String sid)


Copyright © 2009. All Rights Reserved.