public class RequestBasedStickySessionServiceInstanceListSupplier extends DelegatingServiceInstanceListSupplier
ServiceInstanceListSupplier that gives
preference to the instance with an id specified in a request cookie.delegate| Constructor and Description |
|---|
RequestBasedStickySessionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate,
LoadBalancerProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
Flux<List<ServiceInstance>> |
get() |
Flux<List<ServiceInstance>> |
get(Request request) |
String |
getServiceId() |
afterPropertiesSet, destroy, getDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic RequestBasedStickySessionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerProperties properties)
public String getServiceId()
getServiceId in interface ServiceInstanceListSuppliergetServiceId in class DelegatingServiceInstanceListSupplierpublic Flux<List<ServiceInstance>> get()
public Flux<List<ServiceInstance>> get(Request request)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.