Class MediaType
- java.lang.Object
-
- io.vertx.reactivex.openapi.contract.MediaType
-
- All Implemented Interfaces:
RxDelegate
public class MediaType extends Object implements RxDelegate
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 theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MediaType>__TYPE_ARGstatic StringAPPLICATION_HAL_JSONstatic StringAPPLICATION_JSONstatic StringAPPLICATION_JSON_UTF8static StringMULTIPART_FORM_DATAstatic List<String>SUPPORTED_MEDIA_TYPES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)MediaTypegetDelegate()StringgetIdentifier()JsonSchemagetSchema()inthashCode()static booleanisMediaTypeSupported(String type)static MediaTypenewInstance(MediaType arg)StringtoString()
-
-
-
Field Detail
-
APPLICATION_HAL_JSON
public static final String APPLICATION_HAL_JSON
- See Also:
- Constant Field Values
-
APPLICATION_JSON
public static final String APPLICATION_JSON
-
APPLICATION_JSON_UTF8
public static final String APPLICATION_JSON_UTF8
-
MULTIPART_FORM_DATA
public static final String MULTIPART_FORM_DATA
-
-
Method Detail
-
getDelegate
public MediaType getDelegate()
- Specified by:
getDelegatein interfaceRxDelegate
-
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
-
-