final case class Empty(errorHandler: Option[(Cause[Nothing]) => ZIO[Any, Nothing, Unit]]) extends Http[Any, Nothing, Any, Nothing] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Empty
  2. Serializable
  3. Product
  4. Equals
  5. Http
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Empty(errorHandler: Option[(Cause[Nothing]) => ZIO[Any, Nothing, Unit]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[R1 <: Any, Err1 >: Nothing, In1 <: Any, Out1 >: Nothing](that: Http[R1, Err1, In1, Out1])(implicit trace: Trace): Http[R1, Err1, In1, Out1]

    Combines two Http into one.

    Combines two Http into one.

    Definition Classes
    Http
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def >>>[R1 <: Any, Err1 >: Nothing, In1 >: Nothing, Out1](handler: Handler[R1, Err1, In1, Out1])(implicit trace: Trace): Http[R1, Err1, Any, Out1]

    Pipes the output of one app into the other

    Pipes the output of one app into the other

    Definition Classes
    Http
  6. final def @@[LowerEnv <: UpperEnv, UpperEnv <: Any, LowerErr >: Nothing, UpperErr >: LowerErr, In1 <: Any](aspect: Contextual[LowerEnv, UpperEnv, LowerErr, UpperErr])(implicit trace: Trace, in: <:<[In1, Request], out: <:<[Nothing, Response]): Http[OutEnv[UpperEnv], OutErr[LowerErr], Request, Response]
    Definition Classes
    Http
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. final def catchAllCauseZIO[R1 <: Any, Out1 >: Nothing](f: (Cause[Nothing]) => ZIO[Any, Nothing, Out1])(implicit trace: Trace): Http[R1, Nothing, Any, Out1]
    Definition Classes
    Http
  9. final def catchAllZIO[R1 <: Any, Err1, Out1 >: Nothing](f: (Nothing) => ZIO[R1, Err1, Out1])(implicit trace: Trace): Http[R1, Err1, Any, Out1]
    Definition Classes
    Http
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. final def contramap[In1](f: (In1) => Any)(implicit trace: Trace): Http[Any, Nothing, In1, Nothing]
    Definition Classes
    Http
  12. final def contramapZIO[In1](f: (In1) => ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, In1, Nothing]
    Definition Classes
    Http
  13. final def defaultWith[R1 <: Any, Err1 >: Nothing, In1 <: Any, Out1 >: Nothing](that: Http[R1, Err1, In1, Out1])(implicit trace: Trace): Http[R1, Err1, In1, Out1]

    Named alias for ++

    Named alias for ++

    Definition Classes
    Http
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val errorHandler: Option[(Cause[Nothing]) => ZIO[Any, Nothing, Unit]]
    Definition Classes
    EmptyHttp
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def map[Out1](f: (Nothing) => Out1)(implicit trace: Trace): Http[Any, Nothing, Any, Out1]

    Transforms the output of the http app

    Transforms the output of the http app

    Definition Classes
    Http
  19. final def mapError[Err1](f: (Nothing) => Err1)(implicit trace: Trace): Http[Any, Err1, Any, Nothing]

    Transforms the failure of the http app

    Transforms the failure of the http app

    Definition Classes
    Http
  20. final def mapErrorZIO[R1 <: Any, Err1, Out1 >: Nothing](f: (Nothing) => ZIO[R1, Err1, Out1])(implicit trace: Trace): Http[R1, Err1, Any, Out1]

    Transforms the failure of the http app effectfully

    Transforms the failure of the http app effectfully

    Definition Classes
    Http
  21. final def mapZIO[R1 <: Any, Err1 >: Nothing, Out1](f: (Nothing) => ZIO[R1, Err1, Out1])(implicit trace: Trace): Http[R1, Err1, Any, Out1]

    Transforms the output of the http effectfully

    Transforms the output of the http effectfully

    Definition Classes
    Http
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. final def provideEnvironment(r: ZEnvironment[Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]

    Provides the environment to Http.

    Provides the environment to Http.

    Definition Classes
    Http
  27. final def provideLayer[Err1 >: Nothing, R0](layer: ZLayer[R0, Err1, Any])(implicit trace: Trace): Http[R0, Err1, Any, Nothing]

    Provides layer to Http.

    Provides layer to Http.

    Definition Classes
    Http
  28. final def provideSomeEnvironment[R1](f: (ZEnvironment[R1]) => ZEnvironment[Any])(implicit trace: Trace): Http[R1, Nothing, Any, Nothing]

    Provides some of the environment to Http.

    Provides some of the environment to Http.

    Definition Classes
    Http
  29. final def provideSomeLayer[R0, R1, Err1 >: Nothing](layer: ZLayer[R0, Err1, R1])(implicit arg0: Tag[R1], ev: <:<[R0 with R1, Any], trace: Trace): Http[R0, Err1, Any, Nothing]

    Provides some of the environment to Http leaving the remainder R0.

    Provides some of the environment to Http leaving the remainder R0.

    Definition Classes
    Http
  30. final def runHandler(in: Any)(implicit trace: Trace): ZIO[Any, Nothing, Option[Handler[Any, Nothing, Any, Nothing]]]
    Definition Classes
    Http
  31. final def runZIO(in: Any)(implicit trace: Trace): ZIO[Any, Option[Nothing], Nothing]
    Definition Classes
    Http
  32. final def runZIOOrNull(in: Any)(implicit unsafe: Unsafe, trace: Trace): ZIO[Any, Nothing, Nothing]
    Definition Classes
    Http
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. final def tapAllZIO(onFailure: (Cause[Nothing]) => ZIO[Any, Nothing, Any], onSuccess: (Nothing) => ZIO[Any, Nothing, Any], onUnhandled: ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]

    Returns an Http that effectfully peeks at the success, failed, defective or empty value of this Http.

    Returns an Http that effectfully peeks at the success, failed, defective or empty value of this Http.

    Definition Classes
    Http
  35. final def tapErrorCauseZIO(f: (Cause[Nothing]) => ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]
    Definition Classes
    Http
  36. final def tapErrorZIO(f: (Nothing) => ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]

    Returns an Http that effectfully peeks at the failure of this Http.

    Returns an Http that effectfully peeks at the failure of this Http.

    Definition Classes
    Http
  37. final def tapUnhandledZIO(f: ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]
    Definition Classes
    Http
  38. final def tapZIO(f: (Nothing) => ZIO[Any, Nothing, Any])(implicit trace: Trace): Http[Any, Nothing, Any, Nothing]

    Returns an Http that effectfully peeks at the success of this Http.

    Returns an Http that effectfully peeks at the success of this Http.

    Definition Classes
    Http
  39. final def toHandler[R1 <: Any, Err1 >: Nothing, In1 <: Any, Out1 >: Nothing](default: Handler[R1, Err1, In1, Out1])(implicit trace: Trace): Handler[R1, Err1, In1, Out1]
    Definition Classes
    Http
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def when[In1 <: Any](f: (In1) => Boolean)(implicit trace: Trace): Http[Any, Nothing, In1, Nothing]

    Applies Http based only if the condition function evaluates to true

    Applies Http based only if the condition function evaluates to true

    Definition Classes
    Http
  44. final def whenZIO[In1 <: Any](f: (In1) => ZIO[Any, Nothing, Boolean])(implicit trace: Trace): Http[Any, Nothing, In1, Nothing]
    Definition Classes
    Http
  45. final def withDefaultErrorResponse(implicit trace: Trace, ev1: <:<[Request, Any], ev2: <:<[Nothing, Response]): App[Any]
    Definition Classes
    Http

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Http[Any, Nothing, Any, Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped