public class ErrorReportHandler extends Object implements org.springframework.web.client.ResponseErrorHandler
ErrorReport to a ApplicationException| Constructor and Description |
|---|
ErrorReportHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(org.springframework.http.client.ClientHttpResponse response) |
boolean |
hasError(org.springframework.http.client.ClientHttpResponse response) |
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public boolean hasError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
hasError in interface org.springframework.web.client.ResponseErrorHandlerIOExceptionpublic void handleError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
handleError in interface org.springframework.web.client.ResponseErrorHandlerIOExceptionCopyright © 2017. All rights reserved.