Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun Body.Companion.binary(contentType: ContentType, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<InputStream>
Link copied to clipboard
@JvmName(name = "create")
operator fun invoke(body: ByteBuffer): Body
@JvmName(name = "create")
operator fun invoke(body: String): Body
@JvmName(name = "create")
operator fun invoke(body: InputStream, length: Long? = null): Body
Link copied to clipboard
fun Body.Companion.nonBlankString(contentType: ContentType, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<String>
Link copied to clipboard
fun Body.Companion.nonEmptyString(contentType: ContentType, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<String>
Link copied to clipboard
fun Body.Companion.regex(pattern: String, group: Int = 1, contentType: ContentType = ContentType.TEXT_PLAIN, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<String>
Link copied to clipboard
fun Body.Companion.string(contentType: ContentType, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<String>
Link copied to clipboard
fun Body.Companion.webForm(validator: Validator, vararg formFields: Lens<WebForm, *>): BiDiBodyLensSpec<WebForm>
fun Body.Companion.webForm(validator: Validator, contentNegotiation: ContentNegotiation, vararg formFields: Lens<WebForm, *>): BiDiBodyLensSpec<WebForm>