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 |
---|---|
reactor.core.publisher.Flux<List<ServiceInstance>> |
get() |
reactor.core.publisher.Flux<List<ServiceInstance>> |
get(Request request) |
afterPropertiesSet, destroy, getDelegate, getServiceId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder
public RequestBasedStickySessionServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerProperties properties)
public reactor.core.publisher.Flux<List<ServiceInstance>> get()
public reactor.core.publisher.Flux<List<ServiceInstance>> get(Request request)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.