Class BodyPartRenderer
java.lang.Object
org.apache.pekko.http.impl.engine.rendering.BodyPartRenderer
INTERNAL API
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringrandomBoundary(int length, Random random) Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).static StringrandomBoundaryWithDefaultRandom(int length) Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).static StringCreates a new random number of default length and base64 encodes it (using a custom "safe" alphabet).static org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<Multipart.BodyPart,org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart, Object>>> static org.apache.pekko.util.ByteStringstrict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, String boundary, int partHeadersSizeHint, org.apache.pekko.event.LoggingAdapter log) 
- 
Constructor Details- 
BodyPartRendererpublic BodyPartRenderer()
 
- 
- 
Method Details- 
streamedpublic static org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<Multipart.BodyPart,org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart, streamedObject>>> (String boundary, int partHeadersSizeHint, org.apache.pekko.event.LoggingAdapter _log) 
- 
strictpublic static org.apache.pekko.util.ByteString strict(scala.collection.immutable.Seq<Multipart.BodyPart.Strict> parts, String boundary, int partHeadersSizeHint, org.apache.pekko.event.LoggingAdapter log) 
- 
randomBoundaryCreates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).- Parameters:
- length- (undocumented)
- random- (undocumented)
- Returns:
- (undocumented)
 
- 
randomBoundaryWithDefaultsCreates a new random number of default length and base64 encodes it (using a custom "safe" alphabet).- Returns:
- (undocumented)
 
- 
randomBoundaryWithDefaultRandomCreates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).- Parameters:
- length- (undocumented)
- Returns:
- (undocumented)
 
 
-