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

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

Abstract Value Members

  1. abstract def run(in: In): ZIO[R, Err, Http[R, Err, In, Out]]

Concrete 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.

    Combines two Http into one.

    Definition Classes
    Http
  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

    Pipes the output of one app into the other

    Definition Classes
    Http
  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]
    Definition Classes
    Http
  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 ++

    Named alias for ++

    Definition Classes
    Http
  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

    Transforms the output of the http app

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

    Transforms the failure of the http app

    Transforms the failure of the http app

    Definition Classes
    Http
  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

    Transforms the output of the http effectfully

    Definition Classes
    Http
  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.

    Provides the environment to Http.

    Definition Classes
    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.

    Provides layer to Http.

    Definition Classes
    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.

    Provides some of the environment to Http.

    Definition Classes
    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.

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

    Definition Classes
    Http
  25. final def runHandler(in: In)(implicit trace: Trace): ZIO[R, Err, Option[Handler[R, Err, In, Out]]]
    Definition Classes
    Http
  26. final def runZIO(in: In)(implicit trace: Trace): ZIO[R, Option[Err], Out]
    Definition Classes
    Http
  27. final def runZIOOrNull(in: In)(implicit unsafe: Unsafe, trace: Trace): ZIO[R, Err, Out]
    Definition Classes
    Http
  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.

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

    Definition Classes
    Http
  30. final def tapErrorCauseZIO[R1 <: R, Err1 >: Err](f: (Cause[Err]) => ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]
    Definition Classes
    Http
  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.

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

    Definition Classes
    Http
  32. final def tapUnhandledZIO[R1 <: R, Err1 >: Err](f: ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]
    Definition Classes
    Http
  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.

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

    Definition Classes
    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]
    Definition Classes
    Http
  35. final def toSocketApp(implicit ev1: <:<[WebSocketChannelEvent, In], ev2: <:<[Err, Throwable], trace: Trace): SocketApp[R]

    Converts an Http into a websocket application

    Converts an Http into a websocket application

    Definition Classes
    Http
  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

    Applies Http based only if the condition function evaluates to true

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

Inherited from AnyRef

Inherited from Any

Ungrouped