oracle.dbtools.plugin.api.http.annotations

## Annotation Type Accepts

-     @Retention(value=RUNTIME)
       @Target(value={TYPE,PACKAGE,METHOD})
       @Documented
      public @interface Accepts

  Defines the range of media-types that can be accepted by a resource for an update operation (e.g. PUT, POST). Does not apply to read operations.

  An empty set implies that the resource can accept any media-type or takes care of checking media-types itself.

  Media-types can include an asterisk wild card, either before the `/` separator or immediately after.

  For example to accept the default JSON mime type and all application specific dialects use:

       @Accepts({"application/json","application/*+json"}

  To accept any image mime type, use:

       @Accepts({"image/*"}

  Author:
    cdivilly

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `value` The set of media types that a resource can accept for update requests, e.g.

- - ### Element Detail

    - #### value

          public abstract String[] value

      The set of media types that a resource can accept for update requests, e.g. PUT or POST.
      Returns:
        The media types that this resource can accept
      Default:
        {}

Copyright © 2010, 2022, Oracle and/or its affiliates.