Class PartBuilder


  • public class PartBuilder
    extends Object
    The part builder.
    Author:
    Christian Bremer
    • Constructor Detail

      • PartBuilder

        public PartBuilder()
        Instantiates a new part builder.
    • Method Detail

      • part

        public PartBuilder.ResourcePartBuilder part​(String name,
                                                    org.springframework.core.io.Resource resource)
        Resource part builder.
        Parameters:
        name - the name
        resource - the resource
        Returns:
        the resource part builder
      • part

        public PartBuilder.DataBufferPartBuilder part​(String name,
                                                      reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> content)
        Data buffer part builder.
        Parameters:
        name - the name
        content - the content
        Returns:
        the data buffer part builder
      • part

        public PartBuilder.DataBufferPartBuilder part​(String name,
                                                      String filename,
                                                      reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> content)
        Data buffer part builder.
        Parameters:
        name - the name
        filename - the filename
        content - the content
        Returns:
        the data buffer part builder