org.mobicents.servlet.sip.core.dispatchers
Class SubsequentRequestDispatcher

java.lang.Object
  extended by org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
      extended by org.mobicents.servlet.sip.core.dispatchers.RequestDispatcher
          extended by org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher

public class SubsequentRequestDispatcher
extends RequestDispatcher

This class is responsible for routing and dispatching subsequent request to applications according to JSR 289 Section 15.6 Responses, Subsequent Requests and Application Path It uses route header parameters for proxy apps or to tag parameter for UAS/B2BUA apps that were previously set by the container on record route headers or to tag to know which app has to be called

Author:
Jean Deruelle

Nested Class Summary
static class SubsequentRequestDispatcher.SubsequentDispatchTask
           
 
Field Summary
 
Fields inherited from class org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
APP_ID, BRANCH_MAGIC_COOKIE, ROUTE_PARAM_DIRECTIVE, ROUTE_PARAM_NODE_HOST, ROUTE_PARAM_NODE_PORT, ROUTE_PARAM_PREV_APP_ID, ROUTE_PARAM_PREV_APPLICATION_NAME, ROUTE_PARAM_REGION_LABEL, ROUTE_PARAM_REGION_TYPE, RR_PARAM_APPLICATION_NAME, RR_PARAM_PROXY_APP, sipApplicationDispatcher
 
Constructor Summary
SubsequentRequestDispatcher()
           
 
Method Summary
 void dispatchMessage(javax.sip.SipProvider sipProvider, SipServletMessageImpl sipServletMessage)
          Responsible for routing and dispatching a SIP message to the correct application
 
Methods inherited from class org.mobicents.servlet.sip.core.dispatchers.RequestDispatcher
forwardRequestStatefully
 
Methods inherited from class org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
callServlet, callServlet, getConcurrencyModelExecutorService, makeAppSessionKey, securityCheck, sendErrorResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubsequentRequestDispatcher

public SubsequentRequestDispatcher()
Method Detail

dispatchMessage

public void dispatchMessage(javax.sip.SipProvider sipProvider,
                            SipServletMessageImpl sipServletMessage)
                     throws DispatcherException
Responsible for routing and dispatching a SIP message to the correct application

Specified by:
dispatchMessage in class MessageDispatcher
Parameters:
sipProvider - use the sipProvider to route the message if needed, can be null
sipServletMessage - the SIP message to route and dispatch
Throws:
DispatcherException


Copyright © 2011. All Rights Reserved.