Package graphql.execution.reactive
Class DelegatingSubscription
java.lang.Object
graphql.execution.reactive.DelegatingSubscription
- All Implemented Interfaces:
org.reactivestreams.Subscription
@PublicApi
public class DelegatingSubscription
extends Object
implements org.reactivestreams.Subscription
A simple subscription that delegates to another
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingSubscription
(org.reactivestreams.Subscription upstreamSubscription) -
Method Summary
-
Constructor Details
-
DelegatingSubscription
public DelegatingSubscription(org.reactivestreams.Subscription upstreamSubscription)
-
-
Method Details
-
request
public void request(long n) - Specified by:
request
in interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
-
getUpstreamSubscription
public org.reactivestreams.Subscription getUpstreamSubscription()Get instance of upstreamSubscription- Returns:
Subscription
-