批注接口 WriteOperation
@Target(METHOD)
@Retention(RUNTIME)
@Documented
@Reflective(org.springframework.boot.actuate.endpoint.annotation.OperationReflectiveProcessor.class)
public @interface WriteOperation
Identifies a method on an
@Endpoint
as being a write operation.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
-
可选元素概要
可选元素修饰符和类型可选元素说明String[]
The media type of the result of the operation.Class
<? extends Producible> The media types of the result of the operation.
-
元素详细资料
-
produces
String[] producesThe media type of the result of the operation.- 返回:
- the media type
- 默认值:
{}
-
producesFrom
Class<? extends Producible> producesFromThe media types of the result of the operation.- 返回:
- the media types
- 默认值:
org.springframework.boot.actuate.endpoint.Producible.class
-