Packages

sealed trait Http[-R, +Err, -In, +Out] extends AnyRef

Self Type
Http[R, Err, In, Out]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

    Combines two Http into one.

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

    Pipes the output of one app into the other

  6. final def @@[LowerEnv <: UpperEnv, UpperEnv <: R, LowerErr >: Err, UpperErr >: LowerErr, In1 <: In](aspect: HttpAppMiddleware[LowerEnv, UpperEnv, LowerErr, UpperErr])(implicit trace: Trace, in: <:<[In1, Request], out: <:<[Out, Response]): Http[(aspect)#OutEnv[UpperEnv], (aspect)#OutErr[LowerErr], Request, Response]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def defaultWith[R1 <: R, Err1 >: Err, In1 <: In, Out1 >: Out](that: Http[R1, Err1, In1, Out1])(implicit trace: Trace): Http[R1, Err1, In1, Out1]

    Named alias for ++

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def map[Out1](f: (Out) => Out1)(implicit trace: Trace): Http[R, Err, In, Out1]

    Transforms the output of the http app

  16. final def mapError[Err1](f: (Err) => Err1)(implicit trace: Trace): Http[R, Err1, In, Out]

    Transforms the failure of the http app

  17. final def mapZIO[R1 <: R, Err1 >: Err, Out1](f: (Out) => ZIO[R1, Err1, Out1])(implicit trace: Trace): Http[R1, Err1, In, Out1]

    Transforms the output of the http effectfully

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def provideEnvironment(r: ZEnvironment[R])(implicit trace: Trace): Http[Any, Err, In, Out]

    Provides the environment to Http.

  22. final def provideLayer[Err1 >: Err, R0](layer: ZLayer[R0, Err1, R])(implicit trace: Trace): Http[R0, Err1, In, Out]

    Provides layer to Http.

  23. final def provideSomeEnvironment[R1](f: (ZEnvironment[R1]) => ZEnvironment[R])(implicit trace: Trace): Http[R1, Err, In, Out]

    Provides some of the environment to Http.

  24. final def provideSomeLayer[R0, R1, Err1 >: Err](layer: ZLayer[R0, Err1, R1])(implicit arg0: Tag[R1], ev: <:<[R0 with R1, R], trace: Trace): Http[R0, Err1, In, Out]

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

  25. final def runHandler(in: In)(implicit trace: Trace): ZIO[R, Err, Option[Handler[R, Err, In, Out]]]
  26. final def runZIO(in: In)(implicit trace: Trace): ZIO[R, Option[Err], Out]
  27. final def runZIOOrNull(in: In)(implicit unsafe: Unsafe, trace: Trace): ZIO[R, Err, Out]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. final def tapAllZIO[R1 <: R, Err1 >: Err](onFailure: (Cause[Err]) => ZIO[R1, Err1, Any], onSuccess: (Out) => ZIO[R1, Err1, Any], onUnhandled: ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]

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

  30. final def tapErrorCauseZIO[R1 <: R, Err1 >: Err](f: (Cause[Err]) => ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]
  31. final def tapErrorZIO[R1 <: R, Err1 >: Err](f: (Err) => ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]

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

  32. final def tapUnhandledZIO[R1 <: R, Err1 >: Err](f: ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]
  33. final def tapZIO[R1 <: R, Err1 >: Err](f: (Out) => ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]

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

  34. final def toHandler[R1 <: R, Err1 >: Err, In1 <: In, Out1 >: Out](default: Handler[R1, Err1, In1, Out1])(implicit trace: Trace): Handler[R1, Err1, In1, Out1]
  35. final def toSocketApp(implicit ev1: <:<[WebSocketChannelEvent, In], ev2: <:<[Err, Throwable], trace: Trace): SocketApp[R]

    Converts an Http into a websocket application

  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def when[In1 <: In](f: (In1) => Boolean)(implicit trace: Trace): Http[R, Err, In1, Out]

    Applies Http based only if the condition function evaluates to true

  41. final def whenZIO[R1 <: R, Err1 >: Err, In1 <: In](f: (In1) => ZIO[R1, Err1, Boolean])(implicit trace: Trace): Http[R1, Err1, In1, Out]
  42. final def withDefaultErrorResponse(implicit trace: Trace, ev1: <:<[Request, In], ev2: <:<[Out, Response]): App[R]

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped