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