Class MediaTypes

java.lang.Object
dk.mada.jaxrs.generator.mpclient.MediaTypes

public final class MediaTypes extends Object
Handling of media types.
  • Method Details

    • toMediaType

      public static String toMediaType(Imports imports, String mediaType)
      Convert input media type to the render representation.
      Parameters:
      imports - the imports for the source file
      mediaType - the media type
      Returns:
      a string or a symbol representing the media type