FileItem
class FileItem : PartData
Represents a file item
Constructors
Represents a file item |
Properties
val originalFileName: String? Original file name if present |
|
val provider: () -> Input of content bytes |
Inherited Properties
val contentDisposition: ContentDisposition? Parsed |
|
val contentType: ContentType? Parsed |
|
val dispose: () -> Unit to be invoked when this part is no longed needed |
|
val headers: Headers of this part, could be inaccurate on some engines |
|
val name: String? Optional part name based on |
|
val |
|
val |
Extension Properties
val FileItem.streamProvider: () -> InputStream Provides file item’s content as an InputStream |