A UDA version of the built-in override, to be used for static template polymorphism If you override a plain method, use override. If a template, use @Override.
creates a form for gathering the function's arguments
creates a form for gathering object members (for the REST object thing right now)
Returns an element for a particular type
If you override this, you will need to cast the exception type t dynamically, but can then use the template arguments here to refer back to the function.
typeof(null) (which is also used to represent functions returning void) do nothing in the default presenter - allowing the function to have full low-level control over the response.
Redirections are forwarded to Cgi.setResponseLocation
CreatedResources send code 201 and will set the given urls, then present the given representation.
Multiple responses deconstruct the algebraic type and forward to the appropriate handler at runtime
An instance of the arsd.dom.FileResource interface has its own content type; assume it is a download of some sort if the filename member is non-null of the FileResource interface.
And the default handler for HTML will call formatReturnValueAsHtml and place it inside the htmlContainer.
Renders a response as an HTTP error with associated html body
A web presenter is responsible for rendering things to HTML to be usable in a web browser.
They are passed as template arguments to the base classes of WebObject
Responsible for displaying stuff as HTML. You can put this into your own aggregate and override it. Use forwarding and specialization to customize it.
When you inherit from it, pass your own class as the CRTP argument. This lets the base class templates and your overridden templates work with each other.
The meta argument in there can be overridden by your own facility.