Convert the media type
... into ...
... and apply the following transcodings
Transcodings are defined in RFC5259 and used to change properties during conversion Examples are rescale an images or change the encoding encoding of a text.

Converts the whole message or their part into the a new media type. It is typically used to convert text documents and images as described in RFC5259.

Theoretically it would be possible to convert everything into anything (e.g. an audio file into text). But in reality your server will support only a very limited subset of conversions. Keep in mind conversion may require lots of resources and processing time e.g. when rescaling images or creating pdfs.

In case the conversion failes the message remains unchanges. If this method is used inside a test. The test will performing the conversion and evaluate if the conversion succeeded or failed.