CodecRegistry

data class CodecRegistry(val codecs: MutableMap<String, ContentCodec<*>> = mutableMapOf())

Constructors

Link copied to clipboard
constructor(codecs: MutableMap<String, ContentCodec<*>> = mutableMapOf())

Functions

Link copied to clipboard
fun find(contentType: ContentTypeId?): ContentCodec<*>
Link copied to clipboard
fun findFromId(contentTypeString: String): ContentCodec<*>
Link copied to clipboard
fun register(codec: ContentCodec<*>)

Properties

Link copied to clipboard