Class ResponsePromises

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

public final class ResponsePromises extends Object
Helper methods for working with response promises
  • Method Details

    • toResponsePromise

      public static ResponsePromise toResponsePromise(io.atlassian.util.concurrent.Promise<Response> promise)
    • newUnexpectedResponseFunction

      public static <T> Function<Response,T> newUnexpectedResponseFunction()