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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    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[] produces
      The media type of the result of the operation.
      Returns:
      the media type
      Default:
      {}
    • producesFrom

      Class<? extends Producible> producesFrom
      The media types of the result of the operation.
      Returns:
      the media types
      Default:
      org.springframework.boot.actuate.endpoint.Producible.class