Class BodyPartRenderer$

java.lang.Object
akka.http.impl.engine.rendering.BodyPartRenderer$

public class BodyPartRenderer$ extends Object
INTERNAL API
  • Field Details

    • MODULE$

      public static final BodyPartRenderer$ 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,Object>>> streamed(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

      public String randomBoundary(int length, 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 String randomBoundaryWithDefaults()
      Creates a new random number of default length and base64 encodes it (using a custom "safe" alphabet).
      Returns:
      (undocumented)
    • randomBoundaryWithDefaultRandom

      public 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)