org.springframework.cloud.gateway.config.LoadBalancerProperties Java Examples

The following examples show how to use org.springframework.cloud.gateway.config.LoadBalancerProperties. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LbIsolationFilter.java    From microservices-platform with Apache License 2.0 4 votes vote down vote up
public LbIsolationFilter(LoadBalancerClient loadBalancer, LoadBalancerProperties properties) {
    super(loadBalancer, properties);
}
 
Example #2
Source File: FixedHostFilter.java    From WeEvent with Apache License 2.0 4 votes vote down vote up
public FixedHostFilter(LoadBalancerClient loadBalancer, LoadBalancerProperties properties, DiscoveryClient discoveryClient) {
    super(loadBalancer, properties);
    this.discoveryClient = discoveryClient;
}
 
Example #3
Source File: ReactiveLoadBalancerClientFilter.java    From spring-cloud-gateway with Apache License 2.0 4 votes vote down vote up
public ReactiveLoadBalancerClientFilter(LoadBalancerClientFactory clientFactory,
		LoadBalancerProperties properties) {
	this.clientFactory = clientFactory;
	this.properties = properties;
}
 
Example #4
Source File: ReactiveLoadBalancerClientFilterTests.java    From spring-cloud-gateway with Apache License 2.0 4 votes vote down vote up
@Before
public void setup() {
	properties = new LoadBalancerProperties();
	exchange = MockServerWebExchange
			.from(MockServerHttpRequest.get("/mypath").build());
}