Class MediaType
- java.lang.Object
-
- io.vertx.rxjava3.openapi.contract.MediaType
-
public class MediaType extends Object
This interface represents the most important attributes of an OpenAPI Operation.
Operation V3.1
Operation V3.0NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MediaType>
__TYPE_ARG
static String
APPLICATION_HAL_JSON
static String
APPLICATION_JSON
static String
APPLICATION_JSON_UTF8
static String
MULTIPART_FORM_DATA
static List<String>
SUPPORTED_MEDIA_TYPES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
MediaType
getDelegate()
String
getIdentifier()
JsonSchema
getSchema()
int
hashCode()
static boolean
isMediaTypeSupported(String type)
static MediaType
newInstance(MediaType arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MediaType> __TYPE_ARG
-
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()
-
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
-
-