|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResponsePromise
A specific type of Promise for transforming a promise with a response into another object with functions for different HTTP codes and situations
| Method Summary | ||
|---|---|---|
|
transform()
Helps transforming this response promise into a new promise using Function to transform response into a
new T. |
|
| Methods inherited from interface com.atlassian.util.concurrent.Promise |
|---|
claim, done, fail, flatMap, fold, map, recover, then |
| Methods inherited from interface com.google.common.util.concurrent.ListenableFuture |
|---|
addListener |
| Methods inherited from interface java.util.concurrent.Future |
|---|
cancel, get, get, isCancelled, isDone |
| Method Detail |
|---|
<T> ResponseTransformation<T> transform()
Function to transform response into a
new T.
T - the type of the expected object once transformed.
com.atlassian.util.concurrent.Promise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||