Class RoutingContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.handler.router.RoutingContext
- All Implemented Interfaces:
Context
Context
implementation 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
ConstructorDescriptionRoutingContext
(Context parent, String routeId, String routeName) Create a new instance of aRoutingContext
. -
Method Summary
Modifier and TypeMethodDescriptionGet the route ID.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 Details
-
RoutingContext
Create a new instance of aRoutingContext
.- Parameters:
parent
- the parent contextrouteId
- the route IDrouteName
- the route name
-
-
Method Details
-
getRouteId
Get the route ID.- Returns:
- the route ID
-
getRouteName
Get the route name.- Returns:
- the route name
-