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