接口 RestClient.ResponseSpec.ErrorHandler
- 封闭接口:
- RestClient.ResponseSpec
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
-
方法概要
修饰符和类型方法说明voidhandle(HttpRequest request, ClientHttpResponse response) Handle the error in the given response.
-
方法详细资料
-
handle
Handle the error in the given response.- 参数:
response- the response with the error- 抛出:
IOException- in case of I/O errors
-