Package graphql.execution.reactive
Class CompletionStageMappingPublisher.CompletionStageSubscriber
- java.lang.Object
-
- graphql.execution.reactive.CompletionStageMappingPublisher.CompletionStageSubscriber
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<U>
- Enclosing class:
- CompletionStageMappingPublisher<D,U>
public class CompletionStageMappingPublisher.CompletionStageSubscriber extends java.lang.Object implements org.reactivestreams.Subscriber<U>
-
-
Constructor Summary
Constructors Constructor Description CompletionStageSubscriber(org.reactivestreams.Subscriber<? super D> downstreamSubscriber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Subscriber<? super D>
getDownstreamSubscriber()
Get instance of downstream subscribervoid
onComplete()
void
onError(java.lang.Throwable t)
void
onNext(U u)
void
onSubscribe(org.reactivestreams.Subscription subscription)
-
-
-
Constructor Detail
-
CompletionStageSubscriber
public CompletionStageSubscriber(org.reactivestreams.Subscriber<? super D> downstreamSubscriber)
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<U>
-
onError
public void onError(java.lang.Throwable t)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<U>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<U>
-
getDownstreamSubscriber
public org.reactivestreams.Subscriber<? super D> getDownstreamSubscriber()
Get instance of downstream subscriber- Returns:
Subscriber
-
-