Class/Object

fm.http.client

AsyncResponse

Related Docs: object AsyncResponse | package client

Permalink

final class AsyncResponse extends Response with Logging

Represents a Response where the body of the response can be read asynchronously (which means it can be much larger than available heap)

Linear Supertypes
Logging, Response, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncResponse
  2. Logging
  3. Response
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncResponse(response: HttpResponse, content: LinkedHttpContentReader)(implicit execution: ExecutionContext)

    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. val body: Option[LinkedHttpContentReader]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(t: Throwable): Unit

    Permalink
  8. def close(): Unit

    Permalink
    Definition Classes
    AsyncResponse → Closeable → AutoCloseable
  9. def completed: Future[Unit]

    Permalink

    This future is completed when the request has been fully processed

  10. def contentLength: Option[Long]

    Permalink

    The Content-Length of the request body (if known)

    The Content-Length of the request body (if known)

    Definition Classes
    Response
  11. val cookies: Vector[Cookie]

    Permalink

    Any Set-Cookie Headers are decoded into Cookies

    Any Set-Cookie Headers are decoded into Cookies

    Definition Classes
    Response
  12. def detectCharset(defaultCharset: Charset): Charset

    Permalink
    Attributes
    protected
    Definition Classes
    Response
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. val hasBody: Boolean

    Permalink

    Should this response contain a non-empty body?

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. val headers: ImmutableHeaders

    Permalink
    Definition Classes
    Response
  20. def isContentFullyRead: Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def readBodyToByteArray(maxLength: Long = Long.MaxValue): Future[Array[Byte]]

    Permalink
  27. def readBodyToString(maxLength: Long = Long.MaxValue, defaultCharset: Charset = null): Future[String]

    Permalink
  28. val status: Status

    Permalink
    Definition Classes
    Response
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toFullResponse(maxLength: Long = Long.MaxValue): Future[FullResponse]

    Permalink
  31. def toFullStringResponse(maxLength: Long = Long.MaxValue, defaultCharset: Charset = null): Future[FullStringResponse]

    Permalink
  32. def toString(): String

    Permalink
    Definition Classes
    Response → AnyRef → Any
  33. val version: HttpVersion

    Permalink
    Definition Classes
    Response
  34. final def wait(): Unit

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

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

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

Inherited from Logging

Inherited from Response

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped