Package org.jboss.as.web.session
Interface RoutingSupport
- All Known Implementing Classes:
SimpleRoutingSupport
public interface RoutingSupport
Exposes the mechanism for parsing and formation routing information from/into a requested session identifier.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionformat(CharSequence sessionId, CharSequence route) Formats the specified session identifier and route identifier into a single identifier.parse(CharSequence requestedSessionId) Parses the routing information from the specified session identifier.
-
Method Details
-
parse
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
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.
-