initialize
Class: matlab.net.http.io.MultipartConsumer
Namespace: matlab.net.http.io
Prepare MultipartConsumer for new HTTP message
Syntax
OK = initialize(consumer)
Description
OK = initialize( prepares this
consumer)MultipartConsumer for a new message. This method verifies that the
matlab.net.http.field.ContentTypeField
of the message, if present, has a matlab.net.http.MediaType object whose
Type property is "multipart", and that it
has a "boundary" parameter indicating the delimiter between parts.
initialize ignores the subtype.
If the ContentTypeField is missing, then this consumer stores the raw
data in the Payload property of the message.
initialize returns true if it can process the
message. Otherwise, it returns false.
This method is an overridden method of initialize.
Input Arguments
Attributes
Access | protected |
Version History
Introduced in R2018a