spring-framework / org.springframework.http.codec.multipart / SynchronossPartHttpMessageReader

SynchronossPartHttpMessageReader

open class SynchronossPartHttpMessageReader : HttpMessageReader<Part>

HttpMessageReader for parsing "multipart/form-data" requests to a stream of Part's using the Synchronoss NIO Multipart library.

This reader can be provided to MultipartHttpMessageReader in order to aggregate all parts into a Map.

Author
Sebastien Deleuze

Author
Rossen Stoyanchev

Author
Arjen Poutsma

Since
5.0

See Also
<a href="https://github.com/synchronoss/nio-multipart">Synchronoss NIO Multipart</a>MultipartHttpMessageReader

Constructors

<init>

SynchronossPartHttpMessageReader()

HttpMessageReader for parsing "multipart/form-data" requests to a stream of Part's using the Synchronoss NIO Multipart library.

This reader can be provided to MultipartHttpMessageReader in order to aggregate all parts into a Map.

Functions

canRead

open fun canRead(elementType: ResolvableType, mediaType: MediaType): Boolean

getReadableMediaTypes

open fun getReadableMediaTypes(): MutableList<MediaType>

read

open fun read(elementType: ResolvableType, message: ReactiveHttpInputMessage, hints: MutableMap<String, Any>): Flux<Part>

readMono

open fun readMono(elementType: ResolvableType, message: ReactiveHttpInputMessage, hints: MutableMap<String, Any>): Mono<Part>