api

http4k / org.http4k.format / AutoMarshallingXml

AutoMarshallingXml

abstract class AutoMarshallingXml (source)

Constructors

Name Summary
<init> AutoMarshallingXml()

Functions

Name Summary
asA fun <T : Any> String.asA(): T
fun <T : Any> String.asA(target: KClass<T>): T
fun <T : Any> asA(input: String): T
abstract fun <T : Any> asA(input: String, target: KClass<T>): T
asXmlString abstract fun Any.asXmlString(): String
fun asXmlString(input: Any): String

Companion Object Functions

Name Summary
auto fun <T : Any> Body.Companion.auto(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None): BiDiBodyLensSpec<T>
fun <T : Any> WsMessage.Companion.auto(): BiDiWsMessageLensSpec<T>

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T

Inheritors

Name Summary
ConfigurableJacksonXml open class ConfigurableJacksonXml : AutoMarshallingXml
Xml object Xml : AutoMarshallingXml