interface ResponseContentTypeHandler : Handler<RoutingContext>
A handler which sets the response content type automatically according to the best Accept header match. The header is set only if:
#DEFAULT_DISABLE_FLAGAuthor
Thomas Segismont
See Also
RoutingContext#getAcceptableContentType()
static val DEFAULT_DISABLE_FLAG: String |
open static fun create(): ResponseContentTypeHandler
Create a response content type handler. open static fun create(disableFlag: String): ResponseContentTypeHandler
Create a response content type handler with a custom disable flag. |