|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.httpclient.api.ResponsePromises
public final class ResponsePromises
Helper methods for working with response promises
| Method Summary | |
|---|---|
static ResponsesPromise |
toResponsePromise(com.google.common.util.concurrent.ListenableFuture<java.util.List<Response>> future)
|
static ResponsePromise |
toResponsePromise(com.google.common.util.concurrent.ListenableFuture<Response> future)
|
static ResponsesPromise |
when(java.lang.Iterable<? extends ResponsePromise> promises)
Returns a new promise representing the status of a list of other promises. |
static ResponsesPromise |
when(ResponsePromise... promises)
Returns a new promise representing the status of a list of other promises. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResponsesPromise when(ResponsePromise... promises)
promises - The promises that the new promise should track
public static ResponsesPromise when(java.lang.Iterable<? extends ResponsePromise> promises)
promises - The promises that the new promise should track
public static ResponsePromise toResponsePromise(com.google.common.util.concurrent.ListenableFuture<Response> future)
public static ResponsesPromise toResponsePromise(com.google.common.util.concurrent.ListenableFuture<java.util.List<Response>> future)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||