Package com.linecorp.armeria.client
Interface HttpClient
- All Superinterfaces:
Client<HttpRequest,HttpResponse>,Unwrappable
- All Known Implementing Classes:
BraveClient,CircuitBreakerClient,ConcurrencyLimitingClient,ContentPreviewingClient,CookieClient,DecodingClient,LoggingClient,MetricCollectingClient,OAuth2Client,RetryingClient,SimpleDecoratingHttpClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Sends an
HttpRequest to a remote Endpoint.-
Method Summary
-
Method Details
-
execute
Description copied from interface:Client- Specified by:
executein interfaceClient<HttpRequest,HttpResponse>- Returns:
- the
Responseto the specifiedRequest - Throws:
Exception
-