public static class HttpEntity.Chunked$
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static HttpEntity.Chunked$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Chunked$() |
Modifier and Type | Method and Description |
---|---|
HttpEntity.Chunked |
fromData(ContentType contentType,
org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,java.lang.Object> chunks)
Returns a
Chunked entity where one Chunk is produced for every non-empty ByteString produced by the given
Source . |
public static final HttpEntity.Chunked$ MODULE$
public HttpEntity.Chunked fromData(ContentType contentType, org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,java.lang.Object> chunks)
Chunked
entity where one Chunk is produced for every non-empty ByteString produced by the given
Source
.contentType
- (undocumented)chunks
- (undocumented)