Xml
Functions
Link copied to clipboard
Link copied to clipboard
fun asBiDiMapping(config: XmlParsingConfig = defaultXmlParsingConfig): BiDiMapping<String, Document>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> Body.Companion.auto(description: String?, contentNegotiation: ContentNegotiation, contentType: ContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
Convenience function to read an object as XML from the message body.
fun <IN : Any> BiDiLensSpec<IN, String>.xml(config: XmlParsingConfig = defaultXmlParsingConfig): BiDiLensSpec<IN, Document>
Convenience function to write the object as XML to the message body and set the content type.
fun Body.Companion.xml(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None, config: XmlParsingConfig = defaultXmlParsingConfig): BiDiBodyLensSpec<Document>