@ExperimentalApi
public interface WebResourceAssemblerBuilder
| Modifier and Type | Method and Description |
|---|---|
WebResourceAssemblerBuilder |
asyncDataDeadline(long deadline,
TimeUnit timeunit)
Asynchronous data can be required with
RequiredData.requireData(String, CompletionStage). |
WebResourceAssembler |
build()
Constructs a WebResourceAssembler
|
WebResourceAssemblerBuilder |
includeSuperbatchResources(boolean include)
In addition to any resources explicitly added to the WebResourceAssembler, always implicitly include
resources from the superbatch.
|
WebResourceAssemblerBuilder includeSuperbatchResources(boolean include)
WebResourceAssemblerBuilder asyncDataDeadline(long deadline, TimeUnit timeunit)
RequiredData.requireData(String, CompletionStage). Such
promises must complete within a deadline, otherwise they will considered as if they completed exceptionally
and any value they may have returned will be discarded.
The timer for the deadline starts when build() is called.WebResourceAssembler build()
Copyright © 2018 Atlassian. All rights reserved.