public class CustomResponseErrorHandler
extends org.springframework.web.client.DefaultResponseErrorHandler
| 构造器和说明 |
|---|
CustomResponseErrorHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleError(org.springframework.http.client.ClientHttpResponse response) |
boolean |
hasError(org.springframework.http.client.ClientHttpResponse response) |
getCharset, getHttpStatusCode, getResponseBody, handleError, hasError, hasErrorpublic void handleError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
handleError 在接口中 org.springframework.web.client.ResponseErrorHandlerhandleError 在类中 org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionpublic boolean hasError(org.springframework.http.client.ClientHttpResponse response)
throws IOException
hasError 在接口中 org.springframework.web.client.ResponseErrorHandlerhasError 在类中 org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionCopyright © 2025. All rights reserved.