public class BodyPartRenderer
extends java.lang.Object
| Constructor and Description | 
|---|
| BodyPartRenderer() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | randomBoundary(int length,
              java.util.Random random)Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet). | 
| static java.lang.String | randomBoundaryWithDefaultRandom(int length)Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet). | 
| static java.lang.String | randomBoundaryWithDefaults()Creates a new random number of default length and base64 encodes it (using a custom "safe" alphabet). | 
| static org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<Multipart.BodyPart,org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object>>> | streamed(java.lang.String boundary,
        int partHeadersSizeHint,
        org.apache.pekko.event.LoggingAdapter _log) | 
| static org.apache.pekko.util.ByteString | strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts,
      java.lang.String boundary,
      int partHeadersSizeHint,
      org.apache.pekko.event.LoggingAdapter log) | 
public static org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<Multipart.BodyPart,org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object>>> streamed(java.lang.String boundary, int partHeadersSizeHint, org.apache.pekko.event.LoggingAdapter _log)
public static org.apache.pekko.util.ByteString strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, java.lang.String boundary, int partHeadersSizeHint, org.apache.pekko.event.LoggingAdapter log)
public static java.lang.String randomBoundary(int length,
                                              java.util.Random random)
length - (undocumented)random - (undocumented)public static java.lang.String randomBoundaryWithDefaults()
public static java.lang.String randomBoundaryWithDefaultRandom(int length)
length - (undocumented)