public static MediaType create ( String type , String subtype ) { MediaType mediaType = create ( type , subtype , ImmutableListMultimap . < String , String > of ( ) ) ; mediaType . parsedCharset = Optional . absent ( ) ; return mediaType ; }
Creates a new media type with the given type and subtype .