Annotation Type ReadOperation
Identifies a method on an
@Endpoint
as being a read 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
-