|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.httpclient.api.DefaultResponseTransformation<T>
public final class DefaultResponseTransformation<T>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.httpclient.api.ResponseTransformation |
|---|
ResponseTransformation.Builder<T> |
| Method Summary | ||
|---|---|---|
com.atlassian.util.concurrent.Promise<T> |
apply(ResponsePromise responsePromise)
Converts the transformation into a promise for further mapping |
|
static
|
builder()
|
|
com.google.common.base.Function<java.lang.Throwable,? extends T> |
getFailFunction()
|
|
com.google.common.base.Function<Response,T> |
getSuccessFunctions()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public com.google.common.base.Function<java.lang.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)
ResponseTransformation
apply in interface ResponseTransformation<T>public static <T> ResponseTransformation.Builder<T> builder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||