sttp.tapir.server.interceptor.content
Members list
Type members
Classlikes
class NotAcceptableInterceptor[F[_]] extends EndpointInterceptor[F]
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.
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.
Attributes
- Supertypes
In this article