The BaseResource Class

Your REST resources can be plain POJOs: you are not required to extend anything. However, to make integration with other Platform server components easier, you are free to extend the BaseResource class provided by Platform. This gives your resource access to many objects which make some implementations easier: the HttpRequestm, HttpResponse, and the PlatformUserProfile and PlatformUserContext of the user making the request.