Class SubscriptionClientReactiveImpl
java.lang.Object
com.graphql_java_generator.client.SubscriptionClientReactiveImpl
- All Implemented Interfaces:
SubscriptionClient
Default implementation for the
Since 2.x release, this class is quite useless. A
SubscriptionClient interface.Since 2.x release, this class is quite useless. A
Disposable should be used instead. This class is kept for
compatibility with existing code.- Author:
- etienne-sf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAllows the client application to unsubscribe from a previously subscribed subscription.
-
Constructor Details
-
SubscriptionClientReactiveImpl
public SubscriptionClientReactiveImpl(reactor.core.Disposable disposable) - Parameters:
disposable- TheDisposableThat allows to close the underlyingFlux, that receive the subscription notificationswebSocketSessionHandler- The connectedWebSocketSession
-
-
Method Details
-
unsubscribe
Description copied from interface:SubscriptionClientAllows the client application to unsubscribe from a previously subscribed subscription. No more notification will be sent for this subscription.
This will free resources on both the client and the server.- Specified by:
unsubscribein interfaceSubscriptionClient- Throws:
GraphQLRequestExecutionException
-