Class HttpResponseErrorHandler

java.lang.Object
org.springframework.web.client.DefaultResponseErrorHandler
org.citrusframework.http.client.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 Summary

    Constructors
    Constructor
    Description
    Default constructor using error handling strategy.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleError(org.springframework.http.client.ClientHttpResponse response)
     

    Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler

    getCharset, getResponseBody, handleError, hasError, hasError, hasError, initBodyConvertFunction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.client.ResponseErrorHandler

    handleError
  • Constructor Details

    • HttpResponseErrorHandler

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

    • 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