Content Type
Kleuth defaults the produces
and consumes
attributes of a request mapping to JSON (depending on HTTP method). If you need to override this behavior, say, to consume a CSV file,
there are different options. This mirrors Spring's content setting.
The Content
annotation provides this functionality for handler and function name routing styles.
The request method annotations (Get
, Post
, etc.) provide the option to set custom produces
and consumes
attributes.