Interface RequestBody.Multipart<A extends Part.Factory,B extends Part<?>>

Type Parameters:
A - The part factory type
B - the part type
Enclosing interface:
RequestBody

public static interface RequestBody.Multipart<A extends Part.Factory,B extends Part<?>>

A Multipart form data producer.

Since:
1.6
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets request parts in the specified function using the part factory to create parts and the part outbound data to sets the parts in the request body.
  • Method Details

    • from

      void from(BiConsumer<A,OutboundData<B>> data)

      Sets request parts in the specified function using the part factory to create parts and the part outbound data to sets the parts in the request body.

      Parameters:
      data - a function in which request parameters must be set