v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JsHttpRequestProcessor Class Reference
Inheritance diagram for JsHttpRequestProcessor:
Collaboration diagram for JsHttpRequestProcessor:

Public Member Functions

 JsHttpRequestProcessor (Isolate *isolate, Handle< String > script)
 
virtual ~JsHttpRequestProcessor ()
 
virtual bool Initialize (map< string, string > *opts, map< string, string > *output)
 
virtual bool Process (HttpRequest *req)
 
- Public Member Functions inherited from HttpRequestProcessor
virtual ~HttpRequestProcessor ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HttpRequestProcessor
static void Log (const char *event)
 

Detailed Description

An http request processor that is scriptable using JavaScript.

Definition at line 80 of file process.cc.

Constructor & Destructor Documentation

JsHttpRequestProcessor ( Isolate isolate,
Handle< String script 
)
inline

Definition at line 84 of file process.cc.

~JsHttpRequestProcessor ( )
virtual

Definition at line 293 of file process.cc.

Member Function Documentation

bool Initialize ( map< string, string > *  opts,
map< string, string > *  output 
)
virtual

Implements HttpRequestProcessor.

Definition at line 156 of file process.cc.

References Context::Global(), Value::IsFunction(), NULL, and Template::Set().

Referenced by main().

bool Process ( HttpRequest req)
virtual

The documentation for this class was generated from the following file: