Class AbstractDispatcher
- java.lang.Object
-
- org.apache.synapse.endpoints.dispatch.AbstractDispatcher
-
- All Implemented Interfaces:
Dispatcher
- Direct Known Subclasses:
HttpSessionDispatcher
,SimpleClientSessionDispatcher
,SoapSessionDispatcher
public abstract class AbstractDispatcher extends Object implements Dispatcher
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionCookie
extractSessionCookie(MessageContext synCtx, String key)
protected String
extractSessionID(org.apache.axiom.om.OMElement header, QName keyQName)
protected String
extractSessionID(MessageContext synCtx, String key)
List<Endpoint>
getEndpoints(SessionInformation sessionInformation)
Returns the endpoint sequence associated with current session with out rootprotected void
removeSessionID(org.apache.axiom.om.OMElement header, QName keyQName)
protected void
removeSessionID(MessageContext synCtx, String key)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.synapse.endpoints.dispatch.Dispatcher
getSession, isServerInitiatedSession, removeSessionID, unbind, updateSession
-
-
-
-
Method Detail
-
getEndpoints
public List<Endpoint> getEndpoints(SessionInformation sessionInformation)
Description copied from interface:Dispatcher
Returns the endpoint sequence associated with current session with out root- Specified by:
getEndpoints
in interfaceDispatcher
- Parameters:
sessionInformation
- Current Session information- Returns:
- Endpoint sequence
-
extractSessionID
protected String extractSessionID(org.apache.axiom.om.OMElement header, QName keyQName)
-
extractSessionID
protected String extractSessionID(MessageContext synCtx, String key)
-
extractSessionCookie
protected SessionCookie extractSessionCookie(MessageContext synCtx, String key)
-
removeSessionID
protected void removeSessionID(MessageContext synCtx, String key)
-
removeSessionID
protected void removeSessionID(org.apache.axiom.om.OMElement header, QName keyQName)
-
-