public class RestResponseErrorHandler
extends org.springframework.web.client.DefaultResponseErrorHandler
| 构造器和说明 |
|---|
RestResponseErrorHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleError(org.springframework.http.client.ClientHttpResponse response) |
protected void |
handleError(org.springframework.http.client.ClientHttpResponse response,
org.springframework.http.HttpStatus statusCode)
Handle the error based on the resolved status code
|
getCharset, getHttpStatusCode, getResponseBody, hasError, hasError, hasErrorpublic void handleError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
handleError 在接口中 org.springframework.web.client.ResponseErrorHandlerhandleError 在类中 org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionprotected void handleError(org.springframework.http.client.ClientHttpResponse response,
org.springframework.http.HttpStatus statusCode)
throws IOException
handleError 在类中 org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionCopyright © 2021. All rights reserved.