Interface Content


@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 Summary

    Modifier and Type
    Method
    Description
    static dk.mada.jaxrs.model.api.ImmutableContent.Builder
    Returns a builder for this type.
    Returns the content media types supported.
    Returns the content type.
  • Method Details

    • builder

      static dk.mada.jaxrs.model.api.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