Interface HttpServiceClient
-
- All Known Implementing Classes:
HttpServiceClientImpl
public interface HttpServiceClient
The HTTP service client.
-
-
Field Summary
Fields Modifier and Type Field Description static NamedServiceClientFactory<HttpServiceClient>
factory
-
Method Summary
Modifier and Type Method Description Task<HttpResponse>
execute(HttpRequest request)
Executes the givenHttpRequest
.
-
-
-
Field Detail
-
factory
static final NamedServiceClientFactory<HttpServiceClient> factory
-
-
Method Detail
-
execute
Task<HttpResponse> execute(@NonNull HttpRequest request)
Executes the givenHttpRequest
.- Parameters:
request
- the request to execute.- Returns:
- a task containing the response to executing the request.
-
-