Registers a handler body for a resource defined by the T class.
Parameters
receives an instance of the typed resource T as the first parameter.
Registers a handler body for a resource defined by the T class.
Parameters
is used to decode the parameters of the request to an instance of the typed resource T.
receives an instance of the typed resource T as the first parameter.