Class HttpClientExceptionUtils
java.lang.Object
io.micronaut.http.client.exceptions.HttpClientExceptionUtils
Utility Class to work with
HttpClientException
.- Since:
- 4.0.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends HttpClientException>
EpopulateServiceId
(E exc, @Nullable String clientId, @Nullable HttpClientConfiguration configuration)
-
Method Details
-
populateServiceId
public static <E extends HttpClientException> E populateServiceId(E exc, @Nullable @Nullable String clientId, @Nullable @Nullable HttpClientConfiguration configuration) - Type Parameters:
E
- HTTP Client Exception- Parameters:
exc
- HTTP Client ExceptionclientId
- Client Identifierconfiguration
- HttpClientConfiguration- Returns:
- an HTTP Client Exception
-