Object/Class

quasar.api

QResponse

Related Docs: class QResponse | package api

Permalink

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

    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 body[S[_]]: PLens[QResponse[S], QResponse[S], Process[[β$1$]Free[S, β$1$], ByteVector], Process[[β$1$]Free[S, β$1$], ByteVector]]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def empty[S[_]]: QResponse[S]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def header[S[_]](key: Extractable): Optional[QResponse[S], org.http4s.HeaderKey.Extractable.HeaderT]

    Permalink
  14. def headers[S[_]]: PLens[QResponse[S], QResponse[S], Headers, Headers]

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def json[A, S[_]](status: Status, a: A)(implicit arg0: EncodeJson[A]): QResponse[S]

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def ok[S[_]]: QResponse[S]

    Permalink
  21. def response[S[_], A](status: Status, a: A)(implicit E: EntityEncoder[A], S0: :<:[Task, S]): QResponse[S]

    Permalink
  22. def status[S[_]]: PLens[QResponse[S], QResponse[S], Status, Status]

    Permalink
  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]]

    Permalink
  24. def streaming[S[_], A](p: Process[[β$9$]Free[S, β$9$], A])(implicit E: EntityEncoder[A], S0: :<:[Task, S]): Free[S, QResponse[S]]

    Permalink

    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]

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped