case class LogRequestHandling[T](doLogWhenHandled: (String, Option[Throwable]) ⇒ T, doLogAllDecodeFailures: (String, Option[Throwable]) ⇒ T, doLogLogicExceptions: (String, Throwable) ⇒ T, noLog: T, logWhenHandled: Boolean = true, logAllDecodeFailures: Boolean = false, logLogicExceptions: Boolean = true) extends Product with Serializable
Callbacks to log how a request was handled.
- T
Interpreter-specific value representing the log action.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogRequestHandling
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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( ... ) @native()
-
def
decodeFailureHandled(e: Endpoint[_, _, _, _], ctx: DecodeFailureContext, responseValue: Any): T
Invoked when there's a decode failure for an input of the endpoint and the DecodeFailureHandler for the given failure provides a response.
-
def
decodeFailureNotHandled(e: Endpoint[_, _, _, _], ctx: DecodeFailureContext): T
Invoked when there's a decode failure for an input of the endpoint and the DecodeFailureHandler for the given failure returns a no-match.
- val doLogAllDecodeFailures: (String, Option[Throwable]) ⇒ T
- val doLogLogicExceptions: (String, Throwable) ⇒ T
- val doLogWhenHandled: (String, Option[Throwable]) ⇒ T
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logAllDecodeFailures: Boolean
- val logLogicExceptions: Boolean
- val logWhenHandled: Boolean
-
def
logicException(e: Endpoint[_, _, _, _], ex: Throwable): T
Invoked when an exception has been thrown when running the server logic.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noLog: T
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
requestHandled(e: Endpoint[_, _, _, _], statusCode: Int): T
Invoked when all inputs of the request have been decoded successfully and the endpoint handles the request by providing a response (which might be an error or success).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()