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

java.lang.Object
  extended by org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
      extended by org.mobicents.servlet.sip.core.dispatchers.RequestDispatcher
Direct Known Subclasses:
CancelRequestDispatcher, InitialRequestDispatcher, SubsequentRequestDispatcher

public abstract class RequestDispatcher
extends MessageDispatcher

Author:
Jean Deruelle

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
RequestDispatcher()
           
 
Method Summary
protected  void forwardRequestStatefully(SipServletRequestImpl sipServletRequest, SipSessionRoutingType sipSessionRoutingType, SipRouteModifier sipRouteModifier)
          Forward statefully a request whether it is initial or subsequent and keep track of the transactions used in application data of each transaction
 
Methods inherited from class org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
callServlet, callServlet, dispatchMessage, getConcurrencyModelExecutorService, makeAppSessionKey, securityCheck, sendErrorResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestDispatcher

public RequestDispatcher()
Method Detail

forwardRequestStatefully

protected final void forwardRequestStatefully(SipServletRequestImpl sipServletRequest,
                                              SipSessionRoutingType sipSessionRoutingType,
                                              SipRouteModifier sipRouteModifier)
                                       throws java.lang.Exception
Forward statefully a request whether it is initial or subsequent and keep track of the transactions used in application data of each transaction

Parameters:
sipServletRequest - the sip servlet request to forward statefully
sipRouteModifier - the route modifier returned by the AR when receiving the request
Throws:
java.text.ParseException
javax.sip.TransactionUnavailableException
javax.sip.SipException
javax.sip.InvalidArgumentException
java.lang.Exception


Copyright © 2011. All Rights Reserved.