com.atlassian.httpclient.api
Class ResponsePromises

java.lang.Object
  extended by com.atlassian.httpclient.api.ResponsePromises

public final class ResponsePromises
extends java.lang.Object

Helper methods for working with response promises


Method Summary
static
<T> com.google.common.base.Function<Response,T>
newUnexpectedResponseFunction()
           
static ResponsePromise toResponsePromise(com.atlassian.util.concurrent.Promise<Response> promise)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 Atlassian. All Rights Reserved.