A handler which sets the response content type automatically according to the best Accept header match.

The header is set only if:

  • no object is stored in the routing context under the name [ResponseContentTypeHandler](../handler/ResponseContentTypeHandler.type.html)
  • a match is found
  • the header is not present already
  • content length header is absent or set to something different than zero

no subtypes hierarchy

Initializer
ResponseContentTypeHandler(ResponseContentTypeHandler unknown)
Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
handleshared default void handle(RoutingContext arg0)
Inherited Methods
Methods inherited from: Object
equals