final case class Static[-R, +Err, -In, +Out](handler: Handler[R, Err, In, Out]) extends Http[R, Err, In, Out] with Product with Serializable
- Alphabetic
- By Inheritance
- Static
- Serializable
- Product
- Equals
- Http
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val handler: Handler[R, Err, In, Out]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- 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
- 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
- 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
- final def runHandler(in: In)(implicit trace: Trace): ZIO[R, Err, Option[Handler[R, Err, In, Out]]]
- Definition Classes
- Http
- final def runZIO(in: In)(implicit trace: Trace): ZIO[R, Option[Err], Out]
- Definition Classes
- Http
- final def runZIOOrNull(in: In)(implicit unsafe: Unsafe, trace: Trace): ZIO[R, Err, Out]
- Definition Classes
- Http
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- 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
- 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
- final def tapUnhandledZIO[R1 <: R, Err1 >: Err](f: ZIO[R1, Err1, Any])(implicit trace: Trace): Http[R1, Err1, In, Out]
- Definition Classes
- Http
- 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
- 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
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- 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
- final def withDefaultErrorResponse(implicit trace: Trace, ev1: <:<[Request, In], ev2: <:<[Out, Response]): App[R]
- Definition Classes
- Http