Class MultipartInputStream

java.lang.Object
All Implemented Interfaces:
Proxy, AutoCloseable, AutoCloseable, PollableInputStream

@Generated("io.github.jwharm.JavaGI") public final class MultipartInputStream extends FilterInputStream implements PollableInputStream
Handles streams of multipart messages.

This adds support for the multipart responses. For handling the multiple parts the user needs to wrap the InputStream obtained by sending the request with a MultipartInputStream and use nextPart(org.gnome.gio.Cancellable) before reading. Responses which are not wrapped will be treated like non-multipart responses.

Note that although SoupMultipartInputStream is a InputStream, you should not read directly from it, and the results are undefined if you do.