Lines Matching refs:request
42 // These interfaces represent an existing request processing interface.
48 * A simplified http request.
61 * The abstract superclass of http request processors.
72 // Process a single request.
80 * An http request processor that is scriptable using JavaScript.
108 // Callbacks that access the individual fields of request objects.
261 bool JsHttpRequestProcessor::Process(HttpRequest* request) {
272 // Wrap the C++ request object in a JavaScript wrapper
273 Handle<Object> request_obj = WrapRequest(request);
279 // and one argument, the request.
312 // Utility function that wraps a C++ http request object in a
420 * Utility function that wraps a C++ http request object in a
423 Handle<Object> JsHttpRequestProcessor::WrapRequest(HttpRequest* request) {
427 // Fetch the template for creating JavaScript http request wrappers.
436 // Create an empty http request wrapper.
441 Handle<External> request_ptr = External::New(GetIsolate(), request);
443 // Store the request pointer in the JavaScript wrapper.
455 * Utility function that extracts the C++ http request object from a
467 // Extract the C++ request object from the JavaScript wrapper.
468 HttpRequest* request = UnwrapRequest(info.Holder());
471 const string& path = request->Path();
483 HttpRequest* request = UnwrapRequest(info.Holder());
484 const string& path = request->Referrer();
493 HttpRequest* request = UnwrapRequest(info.Holder());
494 const string& path = request->Host();
504 HttpRequest* request = UnwrapRequest(info.Holder());
505 const string& path = request->UserAgent();
519 // Add accessors for each of the fields of the request.
547 * A simplified http request.