Class ClientHttpResponseStatusCodeException

    • Constructor Detail

      • ClientHttpResponseStatusCodeException

        public ClientHttpResponseStatusCodeException​(String serviceId,
                                                     org.springframework.http.client.ClientHttpResponse response,
                                                     byte[] body)
                                              throws IOException
        Constructor.
        Parameters:
        serviceId - The service ID.
        response - The response object.
        body - The response body.
        Throws:
        IOException - Thrown if the ClientHttpResponse response code cannot be retrieved.