org.springframework.http.codec.multipart

Class MultipartHttpMessageReader

  • All Implemented Interfaces:
    HttpMessageReader<MultiValueMap<java.lang.String,Part>>


    public class MultipartHttpMessageReader
    extends LoggingCodecSupport
    implements HttpMessageReader<MultiValueMap<java.lang.String,Part>>
    HttpMessageReader for reading "multipart/form-data" requests into a MultiValueMap<String, Part>.

    Note that this reader depends on access to an HttpMessageReader<Part> for the actual parsing of multipart content. The purpose of this reader is to collect the parts into a map.

    Since:
    5.0
    Author:
    Rossen Stoyanchev