Annotation Interface 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.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
The media type of the result of the operation.Class<? extends Producible>
The media types of the result of the operation.
-
Element Details
-
produces
String[] producesThe media type of the result of the operation.- Returns:
- the media type
- Default:
- {}
-
producesFrom
Class<? extends Producible> producesFromThe media types of the result of the operation.- Returns:
- the media types
- Default:
- org.springframework.boot.actuate.endpoint.Producible.class
-