public class FlatMappingObserver<T,U> extends PassthroughObserver<T,U>
Constructor and Description |
---|
FlatMappingObserver(Observer<? super U> downstreamObserver,
java.util.function.Function<? super T,? extends Observable<? extends U>> mapping,
RequestAllocator requestAllocator) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getMutex() |
void |
onNext(T message)
The method which will receive notification from an
Observable . |
void |
onObserve(Observation observation) |
getDownstreamObserver, getObservation, initializeObservation, onComplete, onFail
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCompletion, onFailure, onObservation, singleUse
public FlatMappingObserver(Observer<? super U> downstreamObserver, java.util.function.Function<? super T,? extends Observable<? extends U>> mapping, RequestAllocator requestAllocator)
protected java.lang.Object getMutex()
public void onObserve(Observation observation)
public void onNext(T message)
Observer
Observable
.