trait ServerLog[F[_]] extends AnyRef
- Alphabetic
- By Inheritance
- ServerLog
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type TOKEN
The type of the per-request token that is generated when a request is started and passed to callbacks when the request is completed.
The type of the per-request token that is generated when a request is started and passed to callbacks when the request is completed. E.g.
Unitor a timestamp (Long).
Abstract Value Members
- abstract def decodeFailureHandled(ctx: DecodeFailureContext, response: ServerResponse[_], token: TOKEN): F[Unit]
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, provided a response.
- abstract def decodeFailureNotHandled(ctx: DecodeFailureContext, token: TOKEN): F[Unit]
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, haven't provided a response.
- abstract def exception(ctx: ExceptionContext[_, _], ex: Throwable, token: TOKEN): F[Unit]
Invoked when an exception has been thrown when running the server logic or handling decode failures.
- abstract def requestHandled(ctx: DecodeSuccessContext[F, _, _, _], response: ServerResponse[_], token: TOKEN): F[Unit]
Invoked when all inputs of the request have been decoded successfully and the endpoint handles the request by providing a response, with the given status code.
- abstract def requestReceived(request: ServerRequest, token: TOKEN): F[Unit]
Invoked when the request has been received.
- abstract def requestToken: TOKEN
Invoked when the request has been received to obtain the per-request token, such as the starting timestamp.
- abstract def securityFailureHandled(ctx: SecurityFailureContext[F, _], response: ServerResponse[_], token: TOKEN): F[Unit]
Invoked when the security logic fails and returns an error.
Concrete 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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