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 subscribervoidonComplete()voidonError(java.lang.Throwable t)voidonNext(U u)voidonSubscribe(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:
onSubscribein interfaceorg.reactivestreams.Subscriber<U>
-
onError
public void onError(java.lang.Throwable t)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<U>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<U>
-
getDownstreamSubscriber
public org.reactivestreams.Subscriber<? super D> getDownstreamSubscriber()
Get instance of downstream subscriber- Returns:
Subscriber
-
-