ConverterRegistration

data class ConverterRegistration

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

<init>

ConverterRegistration(
    contentType: ContentType,
    converter: ContentConverter)

Specifies which converter to use for a particular contentType

Properties

contentType

val contentType: ContentType

is an instance of ContentType for this registration

converter

val converter: ContentConverter

is an instance of ContentConverter for this registration