Class/Object

fm.http

LinkedHttpContent

Related Docs: object LinkedHttpContent | package http

Permalink

final class LinkedHttpContent extends DefaultHttpContent

This represents asynchronous chunked response content where chunks are chained together with futures that are evaluated on-demand to allow for streaming responses that can be memory efficient (i.e. we don't have to evaluate all chunks before we are ready to send them)

Linear Supertypes
DefaultHttpContent, HttpContent, ByteBufHolder, ReferenceCounted, DefaultHttpObject, HttpObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinkedHttpContent
  2. DefaultHttpContent
  3. HttpContent
  4. ByteBufHolder
  5. ReferenceCounted
  6. DefaultHttpObject
  7. HttpObject
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinkedHttpContent(data: ByteBuf, next: ⇒ Future[Option[LinkedHttpContent]])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def content(): ByteBuf

    Permalink
    Definition Classes
    DefaultHttpContent → ByteBufHolder
  7. def copy(): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder
  8. def duplicate(): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getDecoderResult(): DecoderResult

    Permalink
    Definition Classes
    DefaultHttpObject → HttpObject
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def isEmpty: Boolean

    Permalink
  16. def isEndOfContent: Boolean

    Permalink

    This is a non-blocking call to check if the next LinkedHttpContent is None

    This is a non-blocking call to check if the next LinkedHttpContent is None

    Returns: true - Yes this is the last content chunk false - We don't know if this is the last content chunk

  17. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  19. def nonEmpty: Boolean

    Permalink
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def refCnt(): Int

    Permalink
    Definition Classes
    DefaultHttpContent → ReferenceCounted
  23. def release(arg0: Int): Boolean

    Permalink
    Definition Classes
    DefaultHttpContent → ReferenceCounted
  24. def release(): Boolean

    Permalink
    Definition Classes
    DefaultHttpContent → ReferenceCounted
  25. def retain(arg0: Int): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder → ReferenceCounted
  26. def retain(): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder → ReferenceCounted
  27. def setDecoderResult(arg0: DecoderResult): Unit

    Permalink
    Definition Classes
    DefaultHttpObject → HttpObject
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. lazy val tail: Future[Option[LinkedHttpContent]]

    Permalink

    This is the next LinkedHttpContent which is lazily evaluated

  30. def toString(): String

    Permalink
    Definition Classes
    DefaultHttpContent → AnyRef → Any
  31. final def wait(): Unit

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

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

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

Inherited from DefaultHttpContent

Inherited from HttpContent

Inherited from ByteBufHolder

Inherited from ReferenceCounted

Inherited from DefaultHttpObject

Inherited from HttpObject

Inherited from AnyRef

Inherited from Any

Ungrouped