Interface MultipartDataController

  • All Known Implementing Classes:
    MultipartDataControllerImpl

    public interface MultipartDataController
    The multipart data controller.
    Author:
    Christian Bremer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<Map<String,​Object>> postFluxParts​(reactor.core.publisher.Flux<org.springframework.http.codec.multipart.Part> parts)
      Post flux parts mono.
      reactor.core.publisher.Mono<Map<String,​Object>> postMonoMultipartDataMap​(reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,​org.springframework.http.codec.multipart.Part>> monoData)
      Post mono multipart data map mono.
      reactor.core.publisher.Mono<Map<String,​Object>> postMonoParts​(reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> stringPart, reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> resourcePart, reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> dataBufferPart, reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> filePart)
      Post mono parts mono.
      reactor.core.publisher.Mono<Map<String,​Object>> postMultipartDataMap​(org.springframework.util.MultiValueMap<String,​org.springframework.http.codec.multipart.Part> data)
      Post multipart data map mono.
      reactor.core.publisher.Mono<Map<String,​Object>> postNamedFluxParts​(reactor.core.publisher.Flux<org.springframework.http.codec.multipart.Part> parts)
      Post named flux parts mono.
      reactor.core.publisher.Mono<Map<String,​Object>> postParts​(org.springframework.http.codec.multipart.Part stringPart, org.springframework.http.codec.multipart.Part resourcePart, org.springframework.http.codec.multipart.Part dataBufferPart, org.springframework.http.codec.multipart.Part filePart)
      Post parts mono.
    • Method Detail

      • postMultipartDataMap

        @PostMapping(path="/api/multipart/map",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postMultipartDataMap​(@RequestBody
                                                                                   org.springframework.util.MultiValueMap<String,​org.springframework.http.codec.multipart.Part> data)
        Post multipart data map mono.
        Parameters:
        data - the data
        Returns:
        the mono
      • postMonoMultipartDataMap

        @PostMapping(path="/api/multipart/mono-map",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postMonoMultipartDataMap​(@RequestBody
                                                                                       reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,​org.springframework.http.codec.multipart.Part>> monoData)
        Post mono multipart data map mono.
        Parameters:
        monoData - the mono data
        Returns:
        the mono
      • postParts

        @PostMapping(path="/api/multipart/parts",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postParts​(@RequestPart(name="string")
                                                                        org.springframework.http.codec.multipart.Part stringPart,
                                                                        @RequestPart(name="resource")
                                                                        org.springframework.http.codec.multipart.Part resourcePart,
                                                                        @RequestPart(name="buf",required=false)
                                                                        org.springframework.http.codec.multipart.Part dataBufferPart,
                                                                        @RequestPart(name="files",required=false)
                                                                        org.springframework.http.codec.multipart.Part filePart)
        Post parts mono.
        Parameters:
        stringPart - the string part
        resourcePart - the resource part
        dataBufferPart - the data buffer part
        filePart - the file part
        Returns:
        the mono
      • postMonoParts

        @PostMapping(path="/api/multipart/mono-parts",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postMonoParts​(@RequestPart(name="string")
                                                                            reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> stringPart,
                                                                            @RequestPart(name="resource")
                                                                            reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> resourcePart,
                                                                            @RequestPart(name="buf",required=false)
                                                                            reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> dataBufferPart,
                                                                            @RequestPart(name="files",required=false)
                                                                            reactor.core.publisher.Mono<org.springframework.http.codec.multipart.Part> filePart)
        Post mono parts mono.
        Parameters:
        stringPart - the string part
        resourcePart - the resource part
        dataBufferPart - the data buffer part
        filePart - the file part
        Returns:
        the mono
      • postFluxParts

        @PostMapping(path="/api/multipart/flux-parts",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postFluxParts​(@RequestBody
                                                                            reactor.core.publisher.Flux<org.springframework.http.codec.multipart.Part> parts)
        Post flux parts mono.
        Parameters:
        parts - the parts
        Returns:
        the mono
      • postNamedFluxParts

        @PostMapping(path="/api/multipart/named-flux-parts",
                     consumes="multipart/form-data",
                     produces="application/json")
        reactor.core.publisher.Mono<Map<String,​Object>> postNamedFluxParts​(@RequestPart(name="parts")
                                                                                 reactor.core.publisher.Flux<org.springframework.http.codec.multipart.Part> parts)
        Post named flux parts mono.
        Parameters:
        parts - the parts
        Returns:
        the mono