com.atlassian.httpclient.api
Class ResponsePromises
java.lang.Object
com.atlassian.httpclient.api.ResponsePromises
public final class ResponsePromises
- extends Object
Helper methods for working with response promises
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toResponsePromise
public static ResponsePromise toResponsePromise(com.atlassian.util.concurrent.Promise<Response> promise)
newUnexpectedResponseFunction
public static <T> com.google.common.base.Function<Response,T> newUnexpectedResponseFunction()
Copyright © 2012–2015 Atlassian. All rights reserved.