Class BucketKey

java.lang.Object
discord4j.rest.request.BucketKey

public final class BucketKey extends Object
Used to access the appropriate RequestStream according to the bucket that requests for the stream fall into.

Following the Discord documentation, requests belong to the same bucket if:

Note that HTTP method is not considered (requests fall into the same bucket even if the methods are different) in all but one case. Requests on the message delete route fall into a separate bucket.

This is a value-based class.

Since:
3.0