Package dk.mada.jaxrs.generator.mpclient
Class MediaTypes
java.lang.Object
dk.mada.jaxrs.generator.mpclient.MediaTypes
Handling of media types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
toMediaType
(Imports imports, String mediaType) Convert input media type to the render representation.
-
Method Details
-
toMediaType
Convert input media type to the render representation.- Parameters:
imports
- the imports for the source filemediaType
- the media type- Returns:
- a string or a symbol representing the media type
-