|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.servlet.sip.core.dispatchers.MessageDispatcher
org.mobicents.servlet.sip.core.dispatchers.ResponseDispatcher
public class ResponseDispatcher
This class is responsible for routing and dispatching responses to applications according to JSR 289 Section 15.6 Responses, Subsequent Requests and Application Path It uses via header parameters that were previously set by the container to know which app has to be called
| Field Summary |
|---|
| Fields inherited from class org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher |
|---|
APP_NOT_DEPLOYED, FINAL_RESPONSE, GENERATED_APP_KEY, MODIFIER, NO_APP_RETURNED, ROUTE_PARAM_DIRECTIVE, ROUTE_PARAM_PREV_APPLICATION_NAME, RR_PARAM_APPLICATION_NAME, sipApplicationDispatcher |
| Constructor Summary | |
|---|---|
ResponseDispatcher(SipApplicationDispatcher sipApplicationDispatcher)
|
|
| 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.MessageDispatcher |
|---|
callServlet, callServlet, makeAppSessionKey, securityCheck, sendErrorResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseDispatcher(SipApplicationDispatcher sipApplicationDispatcher)
| Method Detail |
|---|
public void dispatchMessage(javax.sip.SipProvider sipProvider,
SipServletMessageImpl sipServletMessage)
throws DispatcherException
dispatchMessage in class MessageDispatchersipProvider - use the sipProvider to route the message if needed, can be nullsipServletMessage - the SIP message to route and dispatch
DispatcherException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||