Klasse WebhookRequest
java.lang.Object
com.github.twitch4j.helix.webhooks.domain.WebhookRequest
Veraltet.
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungWebhookRequest(@NonNull String callback, @NonNull String mode, @NonNull TwitchWebhookTopic topic, Integer leaseSeconds, String secret) Veraltet.WebhookRequest(@NonNull String callback, @NonNull String mode, @NonNull String topic, Integer leaseSeconds, String secret) Veraltet. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanVeraltet.booleanVeraltet.Veraltet.Callback URLVeraltet.Lease time in seconds.getMode()Veraltet.Either "subscribe" or "unsubscribe"Veraltet.Secret used to sign notification payloads.getTopic()Veraltet.Topic URL Can be generated by TwitchWebhookTopic.toString()inthashCode()Veraltet.voidsetCallback(@NonNull String callback) Veraltet.Callback URLvoidsetLeaseSeconds(Integer leaseSeconds) Veraltet.Lease time in seconds.voidVeraltet.Either "subscribe" or "unsubscribe"voidVeraltet.Secret used to sign notification payloads.voidVeraltet.Topic URL Can be generated by TwitchWebhookTopic.toString()toString()Veraltet.
-
Felddetails
-
MODE_SUBSCRIBE
Veraltet.- Siehe auch:
-
MODE_UNSUBSCRIBE
Veraltet.- Siehe auch:
-
-
Konstruktordetails
-
WebhookRequest
public WebhookRequest(@NonNull @NonNull String callback, @NonNull @NonNull String mode, @NonNull @NonNull TwitchWebhookTopic topic, Integer leaseSeconds, String secret) Veraltet. -
WebhookRequest
public WebhookRequest(@NonNull @NonNull String callback, @NonNull @NonNull String mode, @NonNull @NonNull String topic, Integer leaseSeconds, String secret) Veraltet.
-
-
Methodendetails
-
getCallback
Veraltet.Callback URL -
getMode
Veraltet.Either "subscribe" or "unsubscribe" -
getTopic
Veraltet.Topic URL Can be generated by TwitchWebhookTopic.toString() -
getLeaseSeconds
Veraltet.Lease time in seconds. Default is 0, which is only useful for testing. -
getSecret
Veraltet.Secret used to sign notification payloads. The X-Hub-Signature header is generated by sha256(secret, notification_bytes). We strongly encourage you to use this, so your application can verify that notifications are genuine. -
setCallback
Veraltet.Callback URL -
setMode
Veraltet.Either "subscribe" or "unsubscribe" -
setTopic
Veraltet.Topic URL Can be generated by TwitchWebhookTopic.toString() -
setLeaseSeconds
Veraltet.Lease time in seconds. Default is 0, which is only useful for testing. -
setSecret
Veraltet.Secret used to sign notification payloads. The X-Hub-Signature header is generated by sha256(secret, notification_bytes). We strongly encourage you to use this, so your application can verify that notifications are genuine. -
equals
Veraltet. -
canEqual
Veraltet. -
hashCode
public int hashCode()Veraltet. -
toString
Veraltet.
-