类 OhCallbackFuture<T>
java.lang.Object
java.util.concurrent.CompletableFuture<T>
com.github.charlemaznable.httpclient.ohclient.internal.OhCallbackFuture<T>
- 所有已实现的接口:
CompletionStage<T>,Future<T>,okhttp3.Callback
-
嵌套类概要
从类继承的嵌套类/接口 java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonFailure(okhttp3.Call call, IOException e) voidonResponse(okhttp3.Call call, okhttp3.Response response) 从类继承的方法 java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
构造器详细资料
-
OhCallbackFuture
public OhCallbackFuture()
-
-
方法详细资料
-
onFailure
- 指定者:
onFailure在接口中okhttp3.Callback
-
onResponse
public void onResponse(@Nonnull okhttp3.Call call, @Nonnull okhttp3.Response response) - 指定者:
onResponse在接口中okhttp3.Callback
-