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, DecoderResultProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinkedHttpContent
  2. DefaultHttpContent
  3. HttpContent
  4. ByteBufHolder
  5. ReferenceCounted
  6. DefaultHttpObject
  7. HttpObject
  8. DecoderResultProvider
  9. AnyRef
  10. 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 decoderResult(): DecoderResult

    Permalink
    Definition Classes
    DefaultHttpObject → DecoderResultProvider
  9. def duplicate(): HttpContent

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    DefaultHttpObject → 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 replace(arg0: ByteBuf): HttpContent

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

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

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder → ReferenceCounted
  28. def retainedDuplicate(): HttpContent

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

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

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

    Permalink

    This is the next LinkedHttpContent which is lazily evaluated

  32. def toString(): String

    Permalink
    Definition Classes
    DefaultHttpContent → AnyRef → Any
  33. def touch(arg0: Any): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder → ReferenceCounted
  34. def touch(): HttpContent

    Permalink
    Definition Classes
    DefaultHttpContent → HttpContent → ByteBufHolder → ReferenceCounted
  35. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def getDecoderResult(): DecoderResult

    Permalink
    Definition Classes
    DefaultHttpObject → HttpObject
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DefaultHttpContent

Inherited from HttpContent

Inherited from ByteBufHolder

Inherited from ReferenceCounted

Inherited from DefaultHttpObject

Inherited from HttpObject

Inherited from DecoderResultProvider

Inherited from AnyRef

Inherited from Any

Ungrouped