public class HttpSessionDispatcher extends AbstractDispatcher
Modifier and Type | Field and Description |
---|---|
static String |
HOSTS |
log
Constructor and Description |
---|
HttpSessionDispatcher() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
extractSessionIDs(MessageContext synCtx,
String key) |
SessionInformation |
getSession(MessageContext synCtx)
Check if "Cookie" HTTP header is available.
|
boolean |
isServerInitiatedSession()
HTTP sessions are initiated by the server.
|
void |
removeSessionID(MessageContext syCtx)
Remove the session Id - To clear out session information from current message
|
void |
unbind(MessageContext synCtx)
Removes the session belonging to the given message context.
|
void |
updateSession(MessageContext synCtx)
Searches for "Set-Cookie" HTTP header in the message context.
|
extractSessionID, extractSessionID, getEndpoints, removeSessionID, removeSessionID
public static final String HOSTS
public SessionInformation getSession(MessageContext synCtx)
synCtx
- MessageContext possibly containing a "Cookie" HTTP header.public void updateSession(MessageContext synCtx)
synCtx
- MessageContext possibly containing the "Set-Cookie" HTTP header.public void unbind(MessageContext synCtx)
Dispatcher
synCtx
- MessageContext containing an session ID.public boolean isServerInitiatedSession()
public void removeSessionID(MessageContext syCtx)
Dispatcher
syCtx
- MessageContext containing an session IDprotected List<String> extractSessionIDs(MessageContext synCtx, String key)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.