public final class DefaultResponseTransformation<T> extends Object implements ResponseTransformation<T>
ResponseTransformation.Builder<T>| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<T> |
apply(ResponsePromise responsePromise)
Converts the transformation into a promise for further mapping
|
static <T> ResponseTransformation.Builder<T> |
builder() |
com.google.common.base.Function<Throwable,? extends T> |
getFailFunction() |
com.google.common.base.Function<Response,T> |
getSuccessFunctions() |
public com.google.common.base.Function<Throwable,? extends T> getFailFunction()
getFailFunction in interface ResponseTransformation<T>public com.google.common.base.Function<Response,T> getSuccessFunctions()
getSuccessFunctions in interface ResponseTransformation<T>public com.atlassian.util.concurrent.Promise<T> apply(ResponsePromise responsePromise)
ResponseTransformationapply in interface ResponseTransformation<T>public static <T> ResponseTransformation.Builder<T> builder()
Copyright © 2012–2018 Atlassian. All rights reserved.