Interface MediaType

    • Field Detail

      • APPLICATION_JSON

        static final String APPLICATION_JSON
      • APPLICATION_JSON_UTF8

        static final String APPLICATION_JSON_UTF8
      • MULTIPART_FORM_DATA

        static final String MULTIPART_FORM_DATA
      • SUPPORTED_MEDIA_TYPES

        static final List<String> SUPPORTED_MEDIA_TYPES
    • Method Detail

      • isMediaTypeSupported

        static boolean isMediaTypeSupported​(String type)
      • getSchema

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

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