Class RoutingContext

java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.handler.router.RoutingContext
All Implemented Interfaces:
Context

public class RoutingContext extends AbstractContext
Context implementation to maintain a record of the route that accepted the request.
  • Constructor Details

    • RoutingContext

      public RoutingContext(Context parent, String routeId, String routeName)
      Create a new instance of a RoutingContext.
      Parameters:
      parent - the parent context
      routeId - the route ID
      routeName - the route name
  • Method Details

    • getRouteId

      public String getRouteId()
      Get the route ID.
      Returns:
      the route ID
    • getRouteName

      public String getRouteName()
      Get the route name.
      Returns:
      the route name