PartEvent.
On the client side, instances of this interface can be created via one of the overloaded create methods.
On the server side, multipart file uploads trigger one or more
FilePartEvent, as described here.
PartEvent
| Modifier and Type | Method and Description |
|---|---|
| public static Flux | |
| public static Flux | |
| public static Flux | |
| public static Flux | |
| public static Flux | Returns: a stream of eventsthe name of the part partName, String the filename filename, MediaType the content-type for the contents contentType, Flux<DataBuffer> the contents contents)Creates a stream of |
| public static Flux | Returns: a stream of eventsthe name of the part partName, String the filename filename, MediaType the content-type for the contents contentType, Flux<DataBuffer> the contents contents, Consumer<HttpHeaders> used to change default headers. Can be headersConsumer)null.Creates a stream of |
| public default String | Returns: the original filename, or the empty String if no file has been chosen in the multipart form, ornull if not defined or not availableReturn the original filename in the client's filesystem. |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| create | back to summary |
|---|---|
| public static Flux Creates a stream of
| |
| filename | back to summary |
|---|---|
| public default String filename() Return the original filename in the client's filesystem. Note Please keep in mind this filename is supplied by the client and should not be used blindly. In addition to not using the directory portion, the file name could also contain characters such as ".." and others that can be used maliciously. It is recommended to not use this filename directly. Preferably generate a unique one and save this one somewhere for reference, if necessary.
| |