class RequestBodyPart
source · line 10public
public class RequestBodyPart internal constructor(
/**
* The part's body plan.
*/
public val body: RequestBody,
fields: List<HttpField> = emptyList<HttpField>()
)
A multipart part combining a body plan with derived validated fields. HTTP trailers are not permitted inside individual parts.
property head
source · line 20public
public val head: MultipartPartHead
get: public read-only
Validated part fields and the body's declared length.
property body
source · line 14public
public val body: RequestBody
get: public read-only
The part's body plan.