public class SkipperClientResponseErrorHandler extends 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(ClientHttpResponse response) |
getCharset, getHttpStatusCode, getResponseBody, handleError, hasError, hasError, hasErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleErrorpublic SkipperClientResponseErrorHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper - the object mapperpublic void handleError(ClientHttpResponse response) throws IOException
handleError in interface ResponseErrorHandlerhandleError in class DefaultResponseErrorHandlerIOExceptionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.