Class JsonEntityStreamingSupport
java.lang.Object
org.apache.pekko.http.javadsl.common.EntityStreamingSupport
org.apache.pekko.http.scaladsl.common.EntityStreamingSupport
org.apache.pekko.http.javadsl.common.JsonEntityStreamingSupport
- Direct Known Subclasses:
- JsonEntityStreamingSupport,- JsonEntityStreamingSupport
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract JsonEntityStreamingSupportwithFramingRendererFlow(org.apache.pekko.stream.javadsl.Flow<org.apache.pekko.util.ByteString, org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> flow) Java API: Write-side, apply framing to outgoing entity stream.Methods inherited from class org.apache.pekko.http.scaladsl.common.EntityStreamingSupportcontentType, csv, csv, framingDecoder, framingRenderer, getFramingDecoder, getFramingRenderer, json, json, parallelism, supported, unordered, withContentType, withParallelMarshalling, withSupported
- 
Constructor Details- 
JsonEntityStreamingSupportpublic JsonEntityStreamingSupport()
 
- 
- 
Method Details- 
withFramingRendererFlowpublic abstract JsonEntityStreamingSupport withFramingRendererFlow(org.apache.pekko.stream.javadsl.Flow<org.apache.pekko.util.ByteString, org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> flow) Java API: Write-side, apply framing to outgoing entity stream.Most typical usage will be a variant of Flow[ByteString].intersperse.For example for rendering a JSON array one would return Flow[ByteString].intersperse(ByteString("["), ByteString(","), ByteString("]"))and for rendering a new-line separated CSV simplyFlow[ByteString].intersperse(ByteString("\n")).- Parameters:
- flow- (undocumented)
- Returns:
- (undocumented)
 
 
-