Class 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 a Chunked entity where one Chunk is produced for every non-empty ByteString produced by the given Source.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final HttpEntity.Chunked$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Chunked$

        public Chunked$()
    • Method Detail

      • fromData

        public HttpEntity.Chunked fromData​(ContentType contentType,
                                           akka.stream.scaladsl.Source<akka.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.
        Parameters:
        contentType - (undocumented)
        chunks - (undocumented)
        Returns:
        (undocumented)