Class DefaultWebClientErrorDecoder

    • Constructor Detail

      • DefaultWebClientErrorDecoder

        public DefaultWebClientErrorDecoder()
        Instantiates a new web client error decoder.
      • DefaultWebClientErrorDecoder

        public DefaultWebClientErrorDecoder​(RestApiExceptionParser parser)
        Instantiates a new web client error decoder.
        Parameters:
        parser - the parser
    • Method Detail

      • buildException

        public WebClientException buildException​(org.springframework.web.reactive.function.client.ClientResponse clientResponse,
                                                 String response)
        Description copied from interface: WebClientErrorDecoder
        Build exception.
        Parameters:
        clientResponse - the client response
        response - the response
        Returns:
        the exception