Class ResponseErrorHandler

java.lang.Object
org.springframework.web.client.DefaultResponseErrorHandler
com.gooddata.sdk.service.util.ResponseErrorHandler
All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler

public class ResponseErrorHandler extends org.springframework.web.client.DefaultResponseErrorHandler
A response error handler able to extract GoodData error response
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResponseErrorHandler(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
     
  • 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

    • ResponseErrorHandler

      public ResponseErrorHandler(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
  • Method Details

    • handleError

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