Interface Content

All Known Implementing Classes:
ImmutableContent

@Immutable public interface Content
Models the content of a request or response. See https://swagger.io/docs/specification/describing-request-body/multipart-requests/ The form-parameters are extracted and moved up to the RequestBody since that makes more sense to me at present.
  • Method Details

    • builder

      static ImmutableContent.Builder builder()
      Returns a builder for this type.
      Returns:
      a builder for this type
    • mediaTypes

      Set<String> mediaTypes()
      Returns the content media types supported.
      Returns:
      the content media types supported
    • reference

      Reference reference()
      Returns the content type.
      Returns:
      the content type