public interface ResponsePromise extends com.atlassian.util.concurrent.Promise<Response>
| Modifier and Type | Method and Description |
|---|---|
<T> com.atlassian.util.concurrent.Promise<T> |
transform(ResponseTransformation<T> transformation)
Helps transforming this response promise into a new promise using
Function to transform response into a
new T. |
<T> com.atlassian.util.concurrent.Promise<T> transform(ResponseTransformation<T> transformation)
Function to transform response into a
new T.T - the type of the expected object once transformed.com.atlassian.util.concurrent.PromiseCopyright © 2012–2018 Atlassian. All rights reserved.