Class 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.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final BodyPartRenderer$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • BodyPartRenderer$

        public BodyPartRenderer$()
    • 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)