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.Loglog
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionCookieextractSessionCookie(MessageContext synCtx, String key)protected StringextractSessionID(org.apache.axiom.om.OMElement header, QName keyQName)protected StringextractSessionID(MessageContext synCtx, String key)List<Endpoint>getEndpoints(SessionInformation sessionInformation)Returns the endpoint sequence associated with current session with out rootprotected voidremoveSessionID(org.apache.axiom.om.OMElement header, QName keyQName)protected voidremoveSessionID(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:DispatcherReturns the endpoint sequence associated with current session with out root- Specified by:
getEndpointsin 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)
-
-