Class BodyPartRenderer

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

public class BodyPartRenderer extends Object
INTERNAL API
  • Constructor Details

    • BodyPartRenderer

      public BodyPartRenderer()
  • Method Details

    • streamed

      public static 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 static akka.util.ByteString strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, String boundary, int partHeadersSizeHint, akka.event.LoggingAdapter log)
    • randomBoundary

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

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