接口的使用
com.flyfish.oauth.common.Consumer
使用Consumer的程序包
-
com.flyfish.oauth.client中Consumer的使用
参数类型为Consumer的com.flyfish.oauth.client中的方法修饰符和类型方法说明void异步执行,接收结果RestClient.onError(Consumer<RestClient.RestClientException> errorConsumer) 设置请求失败时的回调