Package org.openstack4j.core.transport
Interface HttpExecutorService
-
public interface HttpExecutorServiceA Service which is responsible of execution an HttpRequest- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> HttpResponseexecute(HttpRequest<R> request)Executes the given request and returns theHttpResponseresult from the serverStringgetExecutorDisplayName()
-
-
-
Method Detail
-
execute
<R> HttpResponse execute(HttpRequest<R> request)
Executes the given request and returns theHttpResponseresult 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
-
-