Package akka.http.scaladsl.model
Class HttpEntity.Chunked$
java.lang.Object
akka.http.scaladsl.model.HttpEntity.Chunked$
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- HttpEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpEntity.Chunked$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromData
(ContentType contentType, akka.stream.scaladsl.Source<akka.util.ByteString, Object> chunks) Returns aChunked
entity where one Chunk is produced for every non-empty ByteString produced by the givenSource
.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Chunked$
public Chunked$()
-
-
Method Details
-
fromData
public HttpEntity.Chunked fromData(ContentType contentType, akka.stream.scaladsl.Source<akka.util.ByteString, Object> chunks) Returns aChunked
entity where one Chunk is produced for every non-empty ByteString produced by the givenSource
.- Parameters:
contentType
- (undocumented)chunks
- (undocumented)- Returns:
- (undocumented)
-