类的使用
com.lark.oapi.okhttp.CacheControl
使用CacheControl的程序包
-
com.lark.oapi.okhttp中CacheControl的使用
声明为CacheControl的com.lark.oapi.okhttp中的字段修饰符和类型字段说明static final CacheControlCacheControl.FORCE_CACHECache control request directives that uses the cache only, even if the cached response is stale.static final CacheControlCacheControl.FORCE_NETWORKCache control request directives that require network validation of responses.修饰符和类型方法说明CacheControl.Builder.build()Request.cacheControl()Returns the cache control directives for this response.Response.cacheControl()Returns the cache control directives for this response.static CacheControlReturns the cache directives ofheaders.参数类型为CacheControl的com.lark.oapi.okhttp中的方法修饰符和类型方法说明Request.Builder.cacheControl(CacheControl cacheControl) Sets this request'sCache-Controlheader, replacing any cache control headers already present.