object QResponse extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QResponse
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class HttpResponseStreamFailureException extends Exception

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def body[S[_]]: PLens[QResponse[S], QResponse[S], Process[[β$1$]Free[S, β$1$], ByteVector], Process[[β$1$]Free[S, β$1$], ByteVector]]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def empty[S[_]]: QResponse[S]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def header[S[_]](key: Extractable): Optional[QResponse[S], org.http4s.HeaderKey.Extractable.HeaderT]
  14. def headers[S[_]]: PLens[QResponse[S], QResponse[S], Headers, Headers]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def json[A, S[_]](status: Status, a: A)(implicit arg0: EncodeJson[A]): QResponse[S]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def ok[S[_]]: QResponse[S]
  21. def response[S[_], A](status: Status, a: A)(implicit E: EntityEncoder[A], S0: :<:[Task, S]): QResponse[S]
  22. def status[S[_]]: PLens[QResponse[S], QResponse[S], Status, Status]
  23. def streaming[S[_], A, E](p: Process[[γ$13$]EitherT[[β$12$]Free[S, β$12$], E, γ$13$], A])(implicit A: EntityEncoder[A], S0: :<:[Task, S], S1: :<:[[β$14$]Failure[E, β$14$], S]): Free[S, QResponse[S]]
  24. def streaming[S[_], A](p: Process[[β$9$]Free[S, β$9$], A])(implicit E: EntityEncoder[A], S0: :<:[Task, S]): Free[S, QResponse[S]]

    This QResponse constructor attempts to eliminate all effects in this stream that aren't actually part of the response stream by eagerly evaluating the "first few" effects of the stream.

    This QResponse constructor attempts to eliminate all effects in this stream that aren't actually part of the response stream by eagerly evaluating the "first few" effects of the stream. Examples of such effects are opening a quasar filesystem file, initiating a query to a connector, etc. Doing so allows us to provide a proper error response to clients instead of sending a Http OK and then failing to stream the response body because actually it turned out the file didn't exist after all.

    The better fix for this problem would probably be to avoid constructing such processes (at least for use in the web layer) and instead make a distinction between the effects that create a stream and the effects that "run" the stream.

    In the meantime, this constructor should mostly do the right thing if provided with such processes.

    Annotations
    @SuppressWarnings()
  25. def string[S[_]](status: Status, s: slamdata.Predef.String): QResponse[S]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped