ConverterRegistration

data class ConverterRegistration(contentType: ContentType, converter: ContentConverter)

Specifies which converter to use for a particular contentType

Parameters

contentType

is an instance of ContentType for this registration

converter

is an instance of ContentConverter for this registration

Constructors

Link copied to clipboard
fun ConverterRegistration(contentType: ContentType, converter: ContentConverter)

Properties

Link copied to clipboard
val contentType: ContentType
Link copied to clipboard
val converter: ContentConverter