org.springframework.http.client

Interface MultipartBodyBuilder.PartBuilder

  • Enclosing class:
    MultipartBodyBuilder


    public static interface MultipartBodyBuilder.PartBuilder
    Builder that allows for further customization of part headers.
    • Method Detail

      • headers

        MultipartBodyBuilder.PartBuilder headers(java.util.function.Consumer<HttpHeaders> headersConsumer)
        Manipulate the part headers through the given consumer.
        Parameters:
        headersConsumer - consumer to manipulate the part headers with
        Returns:
        this builder