Class RoutingContext

  • All Implemented Interfaces:
    org.forgerock.services.context.Context

    public class RoutingContext
    extends AbstractContext
    Allows sharing the same RequestContext across Operations (required for subtree searches).
    • Constructor Detail

      • RoutingContext

        public RoutingContext​(String backendId,
                              org.forgerock.services.context.Context parent)
        Creates a new routing context.
        Parameters:
        backendId - The backendId to use.
        parent - The parent context.
    • Method Detail

      • getRequestContext

        public RequestContext getRequestContext()
        Returns the request context associated to this context.
        Returns:
        the request context
      • getBackendId

        public String getBackendId()
        Returns the id of the backend to use to process the request.
        Returns:
        the backend id