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
<?> okhttp3.RequestBody
okhttp3.Headers
okhttp3.Request
okhttp3.ResponseBody
okhttp3.Headers
okhttp3.Response
RestAction
<?> getRoute()
boolean
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
HttpRequestEvent
-
-
Method Details
-
getRequest
-
getRequestBody
-
getRequestBodyRaw
-
getRequestHeaders
-
getRequestRaw
-
getResponse
-
getResponseBody
-
getResponseBodyAsArray
-
getResponseBodyAsObject
-
getResponseBodyAsString
-
getResponseHeaders
-
getResponseRaw
-
getCFRays
-
getRestAction
-
getRoute
-
isRateLimit
public boolean isRateLimit()
-