Package net.dv8tion.jda.api.events.http
Class HttpRequestEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.http.HttpRequestEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a
RestAction
has been executed.
Depending on the request and its result not all values have to be populated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRequest<?>
RestAction<?>
net.dv8tion.jda.internal.requests.Route.CompiledRoute
getRoute()
boolean
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Constructor Details
-
HttpRequestEvent
-
-
Method Details
-
getRequest
-
getRequestBody
-
getRequestBodyRaw
-
getRequestHeaders
-
getRequestRaw
-
getResponse
-
getResponseBody
-
getResponseBodyAsArray
-
getResponseBodyAsObject
-
getResponseBodyAsString
-
getResponseHeaders
-
getResponseRaw
-
getCFRays
-
getRestAction
-
getRoute
-
isRateLimit
public boolean isRateLimit()
-