Class SimpleRoutingSupport

java.lang.Object
org.jboss.as.web.session.SimpleRoutingSupport
All Implemented Interfaces:
RoutingSupport

public class SimpleRoutingSupport extends Object implements RoutingSupport
Implements logic for parsing/appending routing information from/to a session identifier.
Author:
Paul Ferraro
  • Constructor Details

    • SimpleRoutingSupport

      public SimpleRoutingSupport()
  • Method Details

    • parse

      Description copied from interface: RoutingSupport
      Parses the routing information from the specified session identifier.
      Specified by:
      parse in interface RoutingSupport
      Parameters:
      id - the requested session identifier.
      Returns:
      a map entry containing the session ID and routing information as the key and value, respectively.
    • format

      public CharSequence format(CharSequence sessionId, CharSequence routeId)
      Description copied from interface: RoutingSupport
      Formats the specified session identifier and route identifier into a single identifier.
      Specified by:
      format in interface RoutingSupport
      Parameters:
      sessionId - a session identifier
      routeId - a route identifier.
      Returns:
      a single identifier containing the specified session identifier and routing identifier.