类 DefaultResponseErrorHandler

java.lang.Object
cn.taketoday.web.client.DefaultResponseErrorHandler
所有已实现的接口:
ResponseErrorHandler
直接已知子类:
ExtractingResponseErrorHandler

public class DefaultResponseErrorHandler extends Object implements ResponseErrorHandler
Default implementation of the ResponseErrorHandler interface.

This error handler checks for the status code on the ClientHttpResponse. Any code in the 4xx or 5xx series is considered to be an error. This behavior can be changed by overriding hasError(HttpStatusCode). Unknown status codes will be ignored by hasError(ClientHttpResponse).

See handleError(ClientHttpResponse) for more details on specific exception types.

从以下版本开始:
4.0
作者:
Arjen Poutsma, Rossen Stoyanchev, Juergen Hoeller
另请参阅: