Class LoadBalancerUriTools
- java.lang.Object
-
- org.springframework.cloud.client.loadbalancer.LoadBalancerUriTools
-
public final class LoadBalancerUriTools extends Object
- Since:
- 2.2.0
- Author:
- Olga Maciaszek-Sharma
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URI
reconstructURI(ServiceInstance serviceInstance, URI original)
Modifies the URI in order to redirect the request to a service instance of choice.
-
-
-
Method Detail
-
reconstructURI
public static URI reconstructURI(ServiceInstance serviceInstance, URI original)
Modifies the URI in order to redirect the request to a service instance of choice.- Parameters:
serviceInstance
- theServiceInstance
to redirect the request to.original
- theURI
from the original request- Returns:
- the modified
URI
-
-