Annotation Interface DeleteOperation


@Target(METHOD) @Retention(RUNTIME) @Documented @Reflective(org.springframework.boot.actuate.endpoint.annotation.OperationReflectiveProcessor.class) public @interface DeleteOperation
Identifies a method on an @Endpoint as being a delete operation.
Since:
2.0.0
Author:
Stephane Nicoll, 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