Given a parameter name and a query string content, returns a decoded parameter
value of type T
, or Invalid
if decoding failed
Given a parameter name and a query string content, returns a decoded parameter
value of type T
, or Invalid
if decoding failed
This method is called by endpoints when decoding a request failed.
This method is called by endpoints when decoding a request failed.
The provided implementation calls clientErrorsResponse
to complete
with a response containing the errors.
This method can be overridden to customize the error reporting logic.
This method is called by endpoints when an exception is thrown during request processing.
This method is called by endpoints when an exception is thrown during request processing.
The provided implementation uses serverErrorResponse to complete with a response containing the error message.
This method can be overridden to customize the error reporting logic.
Simpler alternative to Directive.&()
method
Simpler alternative to Directive.&()
method
Interpreter for algebra.JsonEntities
To use it mix in support for your favourite Json library You can use one of hseeberger/akka-http-json modules