Class FeignAccessTokenServiceErrorDecoder
java.lang.Object
ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
ru.foodtechlab.lib.auth.interation.restapi.feign.accessToken.FeignAccessTokenServiceErrorDecoder
- All Implemented Interfaces:
feign.codec.ErrorDecoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.codec.ErrorDecoder
feign.codec.ErrorDecoder.Default, feign.codec.ErrorDecoder.RetryAfterDecoder -
Field Summary
Fields inherited from class ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
accessTokenService, mapper, reasonsForRetry -
Constructor Summary
ConstructorsConstructorDescriptionFeignAccessTokenServiceErrorDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, AccessTokenService accessTokenService) -
Method Summary
Methods inherited from class ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
decode
-
Constructor Details
-
FeignAccessTokenServiceErrorDecoder
public FeignAccessTokenServiceErrorDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, AccessTokenService accessTokenService)
-
-
Method Details
-
decode
public Exception decode(io.foodtechlab.exceptionhandler.core.ErrorApiResponse<io.foodtechlab.exceptionhandler.core.Error> errorApiResponse) - Overrides:
decodein classAuthorizationErrorDecoder
-