public class BodyPartRenderer$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static BodyPartRenderer$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
BodyPartRenderer$() |
Modifier and Type | Method and Description |
---|---|
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).
|
java.lang.String |
randomBoundaryWithDefaultRandom(int length)
Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).
|
java.lang.String |
randomBoundaryWithDefaults()
Creates a new random number of default length and base64 encodes it (using a custom "safe" alphabet).
|
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) |
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 final BodyPartRenderer$ MODULE$
public 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 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 java.lang.String randomBoundary(int length, java.util.Random random)
length
- (undocumented)random
- (undocumented)public java.lang.String randomBoundaryWithDefaults()
public java.lang.String randomBoundaryWithDefaultRandom(int length)
length
- (undocumented)