public interface OnSaveCookie
Modifier and Type | Method and Description |
---|---|
void |
onSaveCookie(ForestRequest request,
ForestCookies cookies)
在请求响应成功后,需要保存Cookie时调用该方法
|
void onSaveCookie(ForestRequest request, ForestCookies cookies)
request
- Forest请求对象cookies
- Cookie集合,通过响应返回的Cookie都从该集合获取Copyright © 2020. All rights reserved.