public interface XSiteResponse extends CompletionStage<Void>
CompletionStage
with whenCompleted(XSiteResponseCompleted)
.
It provides a method to register the cross-site request statistics and data for the OfflineStatus
.
Note: do not complete the CompletableFuture
returned by CompletionStage.toCompletableFuture()
.
Modifier and Type | Interface and Description |
---|---|
static interface |
XSiteResponse.XSiteResponseCompleted |
Modifier and Type | Method and Description |
---|---|
void |
whenCompleted(XSiteResponse.XSiteResponseCompleted xSiteResponseCompleted) |
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
void whenCompleted(XSiteResponse.XSiteResponseCompleted xSiteResponseCompleted)
Copyright © 2021 JBoss by Red Hat. All rights reserved.