object RequestInterceptor
- Alphabetic
- By Inheritance
- RequestInterceptor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait RequestResultEffectTransform[F[_]] extends AnyRef
- trait RequestResultTransform[F[_]] extends AnyRef
- trait ServerEndpointFilter[F[_]] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- def effect[F[_]](f: (ServerRequest) => F[Unit]): RequestInterceptor[F]
Run an effect when a request is received.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filterServerEndpoints[F[_]](filter: ServerEndpointFilter[F]): RequestInterceptor[F]
Filter the server endpoints for which decoding will be later attempted, in sequence.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transformResult[F[_]](f: RequestResultTransform[F]): RequestInterceptor[F]
Create a request interceptor which transforms the result, which might be either a response, or a list of endpoint decoding failures.
- def transformResultEffect[F[_]](f: RequestResultEffectTransform[F]): RequestInterceptor[F]
Create a request interceptor which transforms the *effect* which computes the result (either a response, or a list of endpoint decoding failures), that is the
F[RequestResult[B]]value.Create a request interceptor which transforms the *effect* which computes the result (either a response, or a list of endpoint decoding failures), that is the
F[RequestResult[B]]value. To transform the result itself, it might be easier to use transformResult. - def transformServerRequest[F[_]](f: (ServerRequest) => F[ServerRequest]): RequestInterceptor[F]
Create a request interceptor which transforms the server request, prior to handling any endpoints.
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated