Class FeignAuthorizationSessionServiceErrorDecoder
- java.lang.Object
-
- ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
-
- ru.foodtechlab.lib.auth.integration.restapi.feign.authorization.session.FeignAuthorizationSessionServiceErrorDecoder
-
- All Implemented Interfaces:
feign.codec.ErrorDecoder
public class FeignAuthorizationSessionServiceErrorDecoder extends ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
-
-
Constructor Summary
Constructors Constructor Description FeignAuthorizationSessionServiceErrorDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, ru.foodtechlab.lib.auth.integration.core.AccessTokenService accessTokenService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exceptiondecode(io.foodtechlab.exceptionhandler.core.ErrorApiResponse<io.foodtechlab.exceptionhandler.core.Error> errorApiResponse)
-
-
-
Method Detail
-
decode
public Exception decode(io.foodtechlab.exceptionhandler.core.ErrorApiResponse<io.foodtechlab.exceptionhandler.core.Error> errorApiResponse)
- Overrides:
decodein classru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
-
-