Class EasyHttpExceptions
java.lang.Object
io.github.devlibx.easy.http.exception.EasyHttpExceptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classThis exception is thrown when a socket timeout occursstatic classstatic classstatic classstatic classThis error is thrown when request is timed out due to you timeout specified in "api.timeout" property.static classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(int statusCode, Throwable throwable, ResponseObject responseObject) Helper to convert ResilienceException to Easy Exceptions
-
Constructor Details
-
EasyHttpExceptions
public EasyHttpExceptions()
-
-
Method Details
-
easyEasyResilienceException
public static Optional<EasyHttpExceptions.EasyResilienceException> easyEasyResilienceException(Throwable e) Helper to convert ResilienceException to Easy Exceptions -
convert
public static EasyHttpExceptions.EasyHttpRequestException convert(int statusCode, Throwable throwable, ResponseObject responseObject)
-