Class HttpResponseErrorHandler

  • All Implemented Interfaces:
    org.springframework.web.client.ResponseErrorHandler

    public class HttpResponseErrorHandler
    extends org.springframework.web.client.DefaultResponseErrorHandler
    Since:
    2.7
    Author:
    Christoph Deppisch
    • Constructor Detail

      • HttpResponseErrorHandler

        public HttpResponseErrorHandler​(ErrorHandlingStrategy errorHandlingStrategy)
        Default constructor using error handling strategy.
        Parameters:
        errorHandlingStrategy -
    • Method Detail

      • handleError

        public void handleError​(org.springframework.http.client.ClientHttpResponse response)
                         throws IOException
        Specified by:
        handleError in interface org.springframework.web.client.ResponseErrorHandler
        Overrides:
        handleError in class org.springframework.web.client.DefaultResponseErrorHandler
        Throws:
        IOException