Package akka.http.impl.engine.rendering
Class BodyPartRenderer$
- java.lang.Object
-
- akka.http.impl.engine.rendering.BodyPartRenderer$
-
public class BodyPartRenderer$ extends java.lang.Object
INTERNAL API
-
-
Field Summary
Fields Modifier and Type Field Description static BodyPartRenderer$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description BodyPartRenderer$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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).akka.stream.stage.GraphStage<akka.stream.FlowShape<Multipart.BodyPart,akka.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object>>>
streamed(java.lang.String boundary, int partHeadersSizeHint, akka.event.LoggingAdapter _log)
akka.util.ByteString
strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, java.lang.String boundary, int partHeadersSizeHint, akka.event.LoggingAdapter log)
-
-
-
Field Detail
-
MODULE$
public static final BodyPartRenderer$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
streamed
public akka.stream.stage.GraphStage<akka.stream.FlowShape<Multipart.BodyPart,akka.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object>>> streamed(java.lang.String boundary, int partHeadersSizeHint, akka.event.LoggingAdapter _log)
-
strict
public akka.util.ByteString strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, java.lang.String boundary, int partHeadersSizeHint, akka.event.LoggingAdapter log)
-
randomBoundary
public 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).- Parameters:
length
- (undocumented)random
- (undocumented)- Returns:
- (undocumented)
-
randomBoundaryWithDefaults
public java.lang.String randomBoundaryWithDefaults()
Creates a new random number of default length and base64 encodes it (using a custom "safe" alphabet).- Returns:
- (undocumented)
-
randomBoundaryWithDefaultRandom
public java.lang.String randomBoundaryWithDefaultRandom(int length)
Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).- Parameters:
length
- (undocumented)- Returns:
- (undocumented)
-
-