Module io.inverno.mod.http.client
Package io.inverno.mod.http.client
Interface RequestBody.Multipart<A extends Part.Factory,B extends Part<?>>
- Type Parameters:
A
- The part factory typeB
- 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 TypeMethodDescriptionvoid
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.
-
Method Details
-
from
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
-