Table of Contents
The Request Handler component is used in Cake to determine information about the incoming HTTP request. You can use it to better inform your controller about AJAX requests, get information about the remote client's IP address and request type, or strip unwanted data from output. To use the Request Handler component, you'll need to make sure it is specified in your controller's $components array.
class ThingsController extends AppController
{
var $components = array('RequestHandler');
// ...
}