Class Revocation
java.lang.Object
com.gmt2001.twitch.eventsub.EventSubSubscriptionType
com.gmt2001.twitch.eventsub.subscriptions.Revocation
- All Implemented Interfaces:
- Flow.Subscriber<EventSubInternalEvent>
Handles notification that a webhook has been revoked.
- Author:
- gmt2001
- 
Field SummaryFields inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypeflowsubscription, messageId, messageTimestamp, subscription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisMatch(EventSubSubscription subscription) Returns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditionsprotected voidCompiles the parameters of this object into anEventSubSubscriptionthat can be createdvoidValidates that the provided parameters are acceptable for use inEventSubSubscriptionType.proposeSubscription()Methods inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypecreate, delete, deleteAll, findMatchingSubscriptionId, findMatchingSubscriptionIds, getExistingSubscription, isAlreadySubscribed, messageId, messageTimestamp, onComplete, onError, onEventSubInternalEvent, onEventSubInternalNotificationEvent, onEventSubInternalVerificationEvent, onNext, onSubscribe, proposeSubscriptionInternal, proposeTransport, subscribe, subscription
- 
Constructor Details- 
Revocationpublic Revocation()Only used by EventSub for handler registration
 
- 
- 
Method Details- 
proposeSubscriptionDescription copied from class:EventSubSubscriptionTypeCompiles the parameters of this object into anEventSubSubscriptionthat can be created- Specified by:
- proposeSubscriptionin class- EventSubSubscriptionType
- Returns:
 
- 
validateParametersDescription copied from class:EventSubSubscriptionTypeValidates that the provided parameters are acceptable for use inEventSubSubscriptionType.proposeSubscription()- Specified by:
- validateParametersin class- EventSubSubscriptionType
- Throws:
- IllegalArgumentException- One of the parameters is not acceptable
 
- 
isMatchDescription copied from class:EventSubSubscriptionTypeReturns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditions- Specified by:
- isMatchin class- EventSubSubscriptionType
- Returns:
 
- 
onEventSubInternalRevocationEvent- Overrides:
- onEventSubInternalRevocationEventin class- EventSubSubscriptionType
 
 
-