Class

play.api.http.HttpEntity

Chunked

Related Doc: package HttpEntity

Permalink

final case class Chunked(chunks: Source[HttpChunk, _], contentType: Option[String]) extends HttpEntity with Product with Serializable

A chunked entity.

chunks

The stream of chunks for this entity. Must be zero or more HttpChunk.Chunk elements, followed by zero or one HttpChunk.LastChunk elements. Any elements after the HttpChunk.LastChunk element will be ignored. If no HttpChunk.LastChunk element is sent, then the last chunk will contain no trailers.

contentType

The content type, if known.

Source
HttpEntity.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, HttpEntity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Chunked
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HttpEntity
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Chunked(chunks: Source[HttpChunk, _], contentType: Option[String])

    Permalink

    chunks

    The stream of chunks for this entity. Must be zero or more HttpChunk.Chunk elements, followed by zero or one HttpChunk.LastChunk elements. Any elements after the HttpChunk.LastChunk element will be ignored. If no HttpChunk.LastChunk element is sent, then the last chunk will contain no trailers.

    contentType

    The content type, if known.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def as(contentType: String): Chunked

    Permalink

    Return this entity as the given content type.

    Return this entity as the given content type.

    Definition Classes
    ChunkedHttpEntity
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asJava: http.HttpEntity.Chunked

    Permalink

    Convert this entity to its Java counterpart.

    Convert this entity to its Java counterpart.

    Definition Classes
    ChunkedHttpEntity
  7. val chunks: Source[HttpChunk, _]

    Permalink

    The stream of chunks for this entity.

    The stream of chunks for this entity. Must be zero or more HttpChunk.Chunk elements, followed by zero or one HttpChunk.LastChunk elements. Any elements after the HttpChunk.LastChunk element will be ignored. If no HttpChunk.LastChunk element is sent, then the last chunk will contain no trailers.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def consumeData(implicit mat: Materializer): Future[ByteString]

    Permalink

    Consume the data from this entity.

    Consume the data from this entity.

    Definition Classes
    HttpEntity
  10. def contentLength: None.type

    Permalink

    The content length of the entity, if known.

    The content length of the entity, if known.

    Definition Classes
    ChunkedHttpEntity
  11. val contentType: Option[String]

    Permalink

    The content type, if known.

    The content type, if known.

    Definition Classes
    ChunkedHttpEntity
  12. def dataStream: Repr[ByteString]

    Permalink

    The entity as a data stream.

    The entity as a data stream.

    Definition Classes
    ChunkedHttpEntity
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isKnownEmpty: Boolean

    Permalink

    Whether it is known if this entity is empty or not.

    Whether it is known if this entity is empty or not.

    If this returns true, then the entity is definitely empty. If it returns false, the entity may or may not be empty.

    Definition Classes
    ChunkedHttpEntity
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpEntity

Inherited from AnyRef

Inherited from Any

Ungrouped