Package org.jboss.as.web.session
Class SimpleRoutingSupport
java.lang.Object
org.jboss.as.web.session.SimpleRoutingSupport
- All Implemented Interfaces:
RoutingSupport
Implements logic for parsing/appending routing information from/to a session identifier.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(CharSequence sessionId, CharSequence routeId) Formats the specified session identifier and route identifier into a single identifier.parse(CharSequence id) Parses the routing information from the specified session identifier.
-
Constructor Details
-
SimpleRoutingSupport
public SimpleRoutingSupport()
-
-
Method Details
-
parse
Description copied from interface:RoutingSupportParses the routing information from the specified session identifier.- Specified by:
parsein interfaceRoutingSupport- Parameters:
id- the requested session identifier.- Returns:
- a map entry containing the session ID and routing information as the key and value, respectively.
-
format
Description copied from interface:RoutingSupportFormats the specified session identifier and route identifier into a single identifier.- Specified by:
formatin interfaceRoutingSupport- Parameters:
sessionId- a session identifierrouteId- a route identifier.- Returns:
- a single identifier containing the specified session identifier and routing identifier.
-