Interface HttpExecutorService


  • public interface HttpExecutorService
    A Service which is responsible of execution an HttpRequest
    Author:
    Jeremy Unruh
    • Method Detail

      • execute

        <R> HttpResponse execute​(HttpRequest<R> request)
        Executes the given request and returns the HttpResponse result from the server
        Type Parameters:
        R - the underlying return entity type
        Parameters:
        request - the request to execute
        Returns:
        HttpResponse from the server
      • getExecutorDisplayName

        String getExecutorDisplayName()
        Returns:
        the executors display friendly name. useful for logging or tests