Interface HttpCall<E>

Type Parameters:
E - The type of response

public interface HttpCall<E>
Allows for executing the request asynchronously or synchronously.
  • Method Summary

    Modifier and Type Method Description
    CompletableFuture<E> async()
    Execute the request asynchronously.
    E execute()
    Execute the request returning the result.
  • Method Details

    • execute

      E execute()
      Execute the request returning the result.
    • async

      Execute the request asynchronously.