Registers a typed handler body for a GET location defined by the T class.
GET
Class T must be annotated with Location.
receives an instance of typed location T as first parameter.