Description

A view class that responds to any content-type and can be used to create an empty body 406 status code response. This is most useful when using content-type negotiation via `viewClasses()` in your controller. Add this View at the end of the acceptable View classes to require clients to pick an available content-type and that you have no default type.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
stringstring render(string templateName = null, string layoutName = null)
boolbool initialize(Json[string] initData = null)
stringstring contentType()