Class TwitchWebhookTopic<T>
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<T>
- Direct Known Subclasses:
ChannelBanTopic
,ChannelSubscriptionTopic
,ExtensionTransactionsTopic
,FollowsTopic
,HypeTrainTopic
,ModeratorChangeTopic
,StreamsTopic
,TwitchWebhookTopic.UnknownTopic
,UsersTopic
@Deprecated
@ScheduledForRemoval(inVersion="2.0.0")
public abstract class TwitchWebhookTopic<T>
extends Object
Deprecated.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTwitchWebhookTopic
(String url, Class<T> type) Deprecated.Create a new topic from an existing URLDeprecated.Create a new topic starting with "https://api.twitch.tv/helix"TwitchWebhookTopic
(String baseUrl, String path, Class<T> type, SortedMap<String, Object> queryParameters) Deprecated.Override the base URL in case Twitch ever changes it or creates a new endpoint with a different URL. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.static TwitchWebhookTopic<?>
Deprecated.getType()
Deprecated.The data class that notifications for this topic deserialize toint
hashCode()
Deprecated.toString()
Deprecated.
-
Constructor Details
-
TwitchWebhookTopic
Deprecated.Create a new topic starting with "https://api.twitch.tv/helix"- Parameters:
path
- The path to the specific Helix API endpoint..type
- The data class that notifications for this topic deserialize to.queryParameters
- A list of the query parameters for this topic URL. Will be sorted alphabetically, so performance will be higher if it is already sorted.
-
TwitchWebhookTopic
public TwitchWebhookTopic(String baseUrl, String path, Class<T> type, SortedMap<String, Object> queryParameters) Deprecated.Override the base URL in case Twitch ever changes it or creates a new endpoint with a different URL.- Parameters:
baseUrl
- The base URL of the endpoint.path
- The path to the specific API endpoint.type
- The data class that notifications for this topic deserialize to.queryParameters
- A list of the query parameters for this topic URL. Will be sorted alphabetically, so performance will be higher if it is already sorted.
-
TwitchWebhookTopic
Deprecated.Create a new topic from an existing URL- Parameters:
url
- The URL representing this topic.type
- The data class that notifications for this topic deserialize to.
-
-
Method Details
-
toString
Deprecated. -
fromUrl
Deprecated.- Throws:
URISyntaxException
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getType
Deprecated.The data class that notifications for this topic deserialize to
-