注释类型 BackendClient
@Documented
@MethodLifeCycle(BackendClientLifeCycle.class)
@Retention(RUNTIME)
@Target({METHOD,TYPE,ANNOTATION_TYPE})
public @interface BackendClient
Forest后端框架 Client 注解
可用于指定请求接口所对应的后端 Client 对象是否缓存,列如:
@BackendClient(cache = true)
@Post("/")
public String send();
或者- 从以下版本开始:
- 1.5.23
- 作者:
- gongjun [dt_flys@hotmail.com]
-
可选元素概要
可选元素
-
元素详细资料
-
cache
boolean cache后端框架的 Client 对象是否缓存- 返回:
true: 缓存,false: 不缓存
- 默认值:
- true
-