Uses of Class
io.avaje.http.client.HttpException
-
Uses of HttpException in io.avaje.http.client
Modifier and TypeMethodDescriptiondefault boolean
RetryHandler.isExceptionRetry
(int retryCount, HttpException exception) Return true if the request should be retried.Modifier and TypeMethodDescriptionHttpClientRequest.errorMapper
(Function<HttpException, RuntimeException> errorMapper) Set the mapper used to transformHttpException
into a different kind of exception.HttpClient.Builder.globalErrorMapper
(Function<HttpException, RuntimeException> errorMapper) Set the default mapper to be used to transformHttpException
into a different kind of exception.