FormItem

class FormItem : PartData

Represents a multipart form item

Constructors

<init>

FormItem(
    value: String,
    dispose: () -> Unit,
    partHeaders: Headers)

Represents a multipart form item

Properties

value

val value: String

of this field

Inherited Properties

contentDisposition

val contentDisposition: ContentDisposition?

Parsed Content-Disposition header or null if missing

contentType

val contentType: ContentType?

Parsed Content-Type header or null if missing

dispose

val dispose: () -> Unit

to be invoked when this part is no longed needed

headers

val headers: Headers

of this part, could be inaccurate on some engines

name

val name: String?

Optional part name based on Content-Disposition header

partHeaders

val partHeaders: Headers

partName

val partName: String?