Interface HttpRouteAction.Builder

    • Method Detail

      • weightedTargets

        HttpRouteAction.Builder weightedTargets​(Collection<WeightedTarget> weightedTargets)

        An object that represents the targets that traffic is routed to when a request matches the route.

        Parameters:
        weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • weightedTargets

        HttpRouteAction.Builder weightedTargets​(WeightedTarget... weightedTargets)

        An object that represents the targets that traffic is routed to when a request matches the route.

        Parameters:
        weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.