Class MediaType


  • public class MediaType
    extends Object
    This interface represents the most important attributes of an OpenAPI Operation.
    Operation V3.1
    Operation V3.0

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • APPLICATION_JSON

        public static final String APPLICATION_JSON
      • APPLICATION_JSON_UTF8

        public static final String APPLICATION_JSON_UTF8
      • SUPPORTED_MEDIA_TYPES

        public static final List<String> SUPPORTED_MEDIA_TYPES
    • Constructor Detail

      • MediaType

        public MediaType​(MediaType delegate)
      • MediaType

        public MediaType​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public MediaType getDelegate()
      • isMediaTypeSupported

        public static boolean isMediaTypeSupported​(String type)
      • getSchema

        public JsonSchema getSchema()
        Returns:
        the schema defining the content of the request.
      • getIdentifier

        public String getIdentifier()
        Returns:
        the identifier like application/json