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.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
string | string render(string templateName = null, string layoutName = null) | ||||
bool | bool initialize(Json[string] initData = null) | ||||
string | string contentType() |