v8  3.14.5(node0.10.28)
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 (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 78 of file process.cc.

Constructor & Destructor Documentation

JsHttpRequestProcessor ( Handle< String script)
inlineexplicit

Definition at line 82 of file process.cc.

~JsHttpRequestProcessor ( )
virtual

Definition at line 272 of file process.cc.

Member Function Documentation

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

Implements HttpRequestProcessor.

Definition at line 147 of file process.cc.

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

Referenced by main().

bool Process ( HttpRequest req)
virtual

Implements HttpRequestProcessor.

Definition at line 243 of file process.cc.

References TryCatch::Exception(), and Handle< T >::IsEmpty().


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