public class SkipperClientResponseErrorHandler
extends org.springframework.web.client.DefaultResponseErrorHandler
ResponseErrorHandler used in client's RestTemplate to throw
various exceptions.| Constructor and Description |
|---|
SkipperClientResponseErrorHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Instantiates a new skipper client response error handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(org.springframework.http.client.ClientHttpResponse response) |
public SkipperClientResponseErrorHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper - the object mapperpublic void handleError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
handleError in interface org.springframework.web.client.ResponseErrorHandlerhandleError in class org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.