Uses of Class
io.avaje.http.client.HttpException
-
Uses of HttpException in io.avaje.http.client
Methods in io.avaje.http.client with parameters of type HttpExceptionModifier and TypeMethodDescriptiondefault boolean
RetryHandler.isExceptionRetry
(int retryCount, HttpException exception) Return true if the request should be retried.Method parameters in io.avaje.http.client with type arguments of type HttpExceptionModifier 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.