|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResponsePromise
A specific type of BaseResponsePromise for handling a response promise for a single HTTP request
| 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.httpclient.api.BaseResponsePromise |
|---|
badRequest, clientError, conflict, created, done, error, fail, forbidden, informational, internalServerError, noContent, notFound, notModified, notSuccessful, ok, on, others, otherwise, redirection, seeOther, serverError, serviceUnavailable, successful, then, unauthorized |
| Methods inherited from interface com.atlassian.util.concurrent.Promise |
|---|
claim, flatMap, fold, map, recover |
| 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> ResponsePromiseTransformationBuilder<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 | |||||||||