Package org.jboss.as.web.session
Interface RoutingSupport
-
- All Known Implementing Classes:
SimpleRoutingSupport
public interface RoutingSupportExposes the mechanism for parsing and formation routing information from/into a requested session identifier.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CharSequenceformat(CharSequence sessionId, CharSequence route)Formats the specified session identifier and route identifier into a single identifier.Map.Entry<CharSequence,CharSequence>parse(CharSequence requestedSessionId)Parses the routing information from the specified session identifier.
-
-
-
Method Detail
-
parse
Map.Entry<CharSequence,CharSequence> parse(CharSequence requestedSessionId)
Parses the routing information from the specified session identifier.- Parameters:
requestedSessionId- the requested session identifier.- Returns:
- a map entry containing the session ID and routing information as the key and value, respectively.
-
format
CharSequence format(CharSequence sessionId, CharSequence route)
Formats the specified session identifier and route identifier into a single identifier.- Parameters:
sessionId- a session identifierroute- a route identifier.- Returns:
- a single identifier containing the specified session identifier and routing identifier.
-
-