Package akka.http.scaladsl.model
Class HttpEntity.Chunked$
- java.lang.Object
-
- akka.http.scaladsl.model.HttpEntity.Chunked$
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing interface:
- HttpEntity
public static class HttpEntity.Chunked$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static HttpEntity.Chunked$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Chunked$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpEntity.Chunked
fromData(ContentType contentType, akka.stream.scaladsl.Source<akka.util.ByteString,java.lang.Object> chunks)
Returns aChunked
entity where one Chunk is produced for every non-empty ByteString produced by the givenSource
.
-
-
-
Field Detail
-
MODULE$
public static final HttpEntity.Chunked$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fromData
public HttpEntity.Chunked fromData(ContentType contentType, akka.stream.scaladsl.Source<akka.util.ByteString,java.lang.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)
-
-