Klasse TwitchWebhookTopic<T>
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<T>
- Bekannte direkte Unterklassen:
ChannelBanTopic,ChannelSubscriptionTopic,ExtensionTransactionsTopic,FollowsTopic,HypeTrainTopic,ModeratorChangeTopic,StreamsTopic,TwitchWebhookTopic.UnknownTopic,UsersTopic
Veraltet.
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTwitchWebhookTopic(String url, Class<T> type) Veraltet.Create a new topic from an existing URLVeraltet.Create a new topic starting with "https://api.twitch.tv/helix"TwitchWebhookTopic(String baseUrl, String path, Class<T> type, SortedMap<String, Object> queryParameters) Veraltet.Override the base URL in case Twitch ever changes it or creates a new endpoint with a different URL. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanVeraltet.booleanVeraltet.static TwitchWebhookTopic<?> Veraltet.getType()Veraltet.The data class that notifications for this topic deserialize tointhashCode()Veraltet.toString()Veraltet.
-
Konstruktordetails
-
TwitchWebhookTopic
Veraltet.Create a new topic starting with "https://api.twitch.tv/helix"- Parameter:
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) Veraltet.Override the base URL in case Twitch ever changes it or creates a new endpoint with a different URL.- Parameter:
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
Veraltet.Create a new topic from an existing URL- Parameter:
url- The URL representing this topic.type- The data class that notifications for this topic deserialize to.
-
-
Methodendetails
-
toString
Veraltet. -
fromUrl
Veraltet.- Löst aus:
URISyntaxException
-
equals
Veraltet. -
canEqual
Veraltet. -
hashCode
public int hashCode()Veraltet. -
getType
Veraltet.The data class that notifications for this topic deserialize to
-