Package com.sap.mobile.services.client
Class RestTemplateResponseErrorHandler
java.lang.Object
com.sap.mobile.services.client.RestTemplateResponseErrorHandler
- All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler
public class RestTemplateResponseErrorHandler
extends Object
implements org.springframework.web.client.ResponseErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(org.springframework.http.client.ClientHttpResponse response) boolean
hasError
(org.springframework.http.client.ClientHttpResponse response) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.client.ResponseErrorHandler
handleError
-
Constructor Details
-
RestTemplateResponseErrorHandler
public RestTemplateResponseErrorHandler()
-
-
Method Details
-
hasError
public boolean hasError(org.springframework.http.client.ClientHttpResponse response) throws IOException - Specified by:
hasError
in interfaceorg.springframework.web.client.ResponseErrorHandler
- Throws:
IOException
-
handleError
public void handleError(org.springframework.http.client.ClientHttpResponse response) throws IOException - Specified by:
handleError
in interfaceorg.springframework.web.client.ResponseErrorHandler
- Throws:
IOException
-