public class MultipartFormatter extends Object
| Constructor and Description |
|---|
MultipartFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
boundaryToContentType(String boundary) |
static String |
randomBoundary() |
static Source<ByteString,?> |
transform(Source<? super Http.MultipartFormData.Part<Source<ByteString,?>>,?> parts,
String boundary) |
public static String randomBoundary()
public static Source<ByteString,?> transform(Source<? super Http.MultipartFormData.Part<Source<ByteString,?>>,?> parts, String boundary)