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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Allows the client application to unsubscribe from a previously subscribed subscription.
-
Constructor Details
-
SubscriptionClientReactiveImpl
public SubscriptionClientReactiveImpl(reactor.core.Disposable disposable) - Parameters:
disposable
- TheDisposable
That allows to close the underlyingFlux
, that receive the subscription notificationswebSocketSessionHandler
- The connectedWebSocketSession
-
-
Method Details
-
unsubscribe
Description copied from interface:SubscriptionClient
Allows 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:
unsubscribe
in interfaceSubscriptionClient
- Throws:
GraphQLRequestExecutionException
-