NotAcceptableInterceptor

If no body in the endpoint's outputs satisfies the constraints from the request's Accept header, returns an empty response with status code 406, before any further processing (running the business logic) is done.

trait Interceptor[F]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply[B](responder: Responder[F, B], endpointHandler: EndpointHandler[F, B]): EndpointHandler[F, B]
Type parameters:
B

The interpreter-specific, low-level type of body.

Definition Classes