public class DefaultReactiveSwitcher extends Object implements ReactiveSwitcher
| Constructor and Description |
|---|
DefaultReactiveSwitcher(String name,
String type) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<String> |
current() |
<P extends org.reactivestreams.Publisher<?>> |
reset(P publisher) |
<P extends org.reactivestreams.Publisher<?>> |
use(P publisher,
String id) |
<P extends org.reactivestreams.Publisher<?>> |
useDefault(P publisher) |
<P extends org.reactivestreams.Publisher<?>> |
useLast(P publisher) |
public <P extends org.reactivestreams.Publisher<?>> P useLast(P publisher)
useLast in interface ReactiveSwitcherpublic <P extends org.reactivestreams.Publisher<?>> P use(P publisher,
String id)
use in interface ReactiveSwitcherpublic <P extends org.reactivestreams.Publisher<?>> P useDefault(P publisher)
useDefault in interface ReactiveSwitcherpublic <P extends org.reactivestreams.Publisher<?>> P reset(P publisher)
reset in interface ReactiveSwitcherpublic reactor.core.publisher.Mono<String> current()
current in interface ReactiveSwitcherCopyright © 2016–2021. All rights reserved.