Class RoutingContext

  • All Implemented Interfaces:
    Context

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

      • 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 Detail

      • getRouteId

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

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