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
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected void
    handleError(org.springframework.http.client.ClientHttpResponse response, org.springframework.http.HttpStatusCode statusCode, URI url, org.springframework.http.HttpMethod method)
     

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

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpResponseErrorHandler

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

    • handleError

      protected void handleError(org.springframework.http.client.ClientHttpResponse response, org.springframework.http.HttpStatusCode statusCode, @Nullable URI url, @Nullable org.springframework.http.HttpMethod method) throws IOException
      Overrides:
      handleError in class org.springframework.web.client.DefaultResponseErrorHandler
      Throws:
      IOException