Class LoadBalancerFilterFunctions
java.lang.Object
org.springframework.cloud.gateway.server.mvc.filter.LoadBalancerFilterFunctions
- Author:
- Samuel Schnegg
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> lb(String serviceId, BiFunction<org.springframework.cloud.client.ServiceInstance, URI, URI> reconstructUriFunction)
-
Method Details
-
lb
public static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> lb(String serviceId) -
lb
public static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> lb(String serviceId, BiFunction<org.springframework.cloud.client.ServiceInstance, URI, URI> reconstructUriFunction)
-