Package com.gooddata.sdk.service.util
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(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters) -
Method Summary
Modifier and Type Method Description voidhandleError(org.springframework.http.client.ClientHttpResponse response)Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
getCharset, getHttpStatusCode, getResponseBody, handleError, hasError, hasError, hasError
-
Constructor Details
-
ResponseErrorHandler
public ResponseErrorHandler(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
-
-
Method Details
-
handleError
public void handleError(org.springframework.http.client.ClientHttpResponse response)- Specified by:
handleErrorin interfaceorg.springframework.web.client.ResponseErrorHandler- Overrides:
handleErrorin classorg.springframework.web.client.DefaultResponseErrorHandler
-