Class RestFuture<T>

java.lang.Object
java.util.concurrent.CompletableFuture<T>
net.dv8tion.jda.api.requests.RestFuture<T>
All Implemented Interfaces:
CompletionStage<T>, Future<T>

public class RestFuture<T> extends CompletableFuture<T>
  • Constructor Details

    • RestFuture

      public RestFuture(net.dv8tion.jda.internal.requests.RestActionImpl<T> restAction, boolean shouldQueue, BooleanSupplier checks, RequestBody data, Object rawData, long deadline, boolean priority, net.dv8tion.jda.internal.requests.Route.CompiledRoute route, org.apache.commons.collections4.map.CaseInsensitiveMap<String,String> headers)
    • RestFuture

      public RestFuture(T t)
    • RestFuture

      public RestFuture(Throwable t)
  • Method Details