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
Contextimplementation to maintain a record of the route that accepted the request.
-
-
Field Summary
-
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
-
Constructor Summary
Constructors Constructor Description RoutingContext(Context parent, String routeId, String routeName)Create a new instance of aRoutingContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRouteId()Get the route ID.StringgetRouteName()Get the route name.-
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
-
-
-
Constructor Detail
-
RoutingContext
public RoutingContext(Context parent, String routeId, String routeName)
Create a new instance of aRoutingContext.- Parameters:
parent- the parent contextrouteId- the route IDrouteName- the route name
-
-