Hello,
These are the classes containing methods and properties you can use with Apex REST.
Class Description
1.RestContext Class Contains the RestRequest and RestResponse objects.
2.request Represents an object used to pass data from an HTTP request to an Apex RESTful Web service method.
3.response Represents an object used to pass data from an Apex RESTful Web service method to an HTTP response.