ConfigurableFory

open class ConfigurableFory(fory: ThreadSafeFory)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(fory: ThreadSafeFory)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> asA(input: InputStream): T
inline fun <T : Any> asA(input: ByteArray): T
fun <T : Any> asA(input: ByteArray, target: KClass<T>): T
Link copied to clipboard
fun asBytes(input: Any): ByteArray
Link copied to clipboard
inline fun <T : Any> Body.Companion.auto(description: String? = null, contentNegotiation: ContentNegotiation = None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
inline fun <T : Any> autoBody(description: String? = null, contentNegotiation: ContentNegotiation = None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
inline fun <T : Any> HttpMessage.binary(): T

Convenience function to read an object as Fory from the message body.

inline fun <T : Any, R : HttpMessage> R.binary(t: T): R

Convenience function to write the object as Fory to the message body and set the content type.