File Information
Library: JS/Net
Package: Wrappers
Header: Poco/JS/Net/HTTPResponseWrapper.h
Description
JavaScript wrapper for Poco::HTTPResponse.
Inheritance
Direct Base Classes: Poco::JS::Core::Wrapper
All Base Classes: Poco::JS::Core::Wrapper
Member Summary
Member Functions: construct, constructor, destruct, getBuffer, getContent, getContentType, getHeader, getHeaders, getReason, getStatus, getVersion, hasHeader, htmlize, isHTTPResponse, objectTemplate, redirect, send, sendFile, setBuffer, setContent, setContentType, setHeader, setReason, setStatus, setVersion, write, writeHTML, writeln
Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent
Constructors
HTTPResponseWrapper
Creates the HTTPResponseWrapper for the root logger.
Destructor
~HTTPResponseWrapper
Destroys the HTTPResponseWrapper.
Member Functions
constructor
v8::Handle < v8::FunctionTemplate > constructor(
v8::Isolate * pIsolate
);
Creates and returns a V8 FunctionTemplate for the constructor function.
objectTemplate
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
construct
static void construct(
const v8::FunctionCallbackInfo < v8::Value > & args
);
destruct
static void destruct(
const v8::WeakCallbackInfo < ResponseHolder > & data
);
getBuffer
static void getBuffer(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getContent
static void getContent(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getContentType
static void getContentType(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getHeader
static void getHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
getHeaders
static void getHeaders(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getReason
static void getReason(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getStatus
static void getStatus(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getVersion
static void getVersion(
v8::Local < v8::Name > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
hasHeader
static void hasHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
htmlize
static void htmlize(
const v8::FunctionCallbackInfo < v8::Value > & args
);
isHTTPResponse
static void isHTTPResponse(
const v8::FunctionCallbackInfo < v8::Value > & args
);
redirect
static void redirect(
const v8::FunctionCallbackInfo < v8::Value > & args
);
send
static void send(
const v8::FunctionCallbackInfo < v8::Value > & args
);
sendFile
static void sendFile(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setBuffer
static void setBuffer(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setContent
static void setContent(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setContentType
static void setContentType(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setHeader
static void setHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setReason
static void setReason(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setStatus
static void setStatus(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setStatus
static void setStatus(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setVersion
static void setVersion(
v8::Local < v8::Name > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
write
static void write(
const v8::FunctionCallbackInfo < v8::Value > & args
);
writeHTML
static void writeHTML(
const v8::FunctionCallbackInfo < v8::Value > & args
);
writeln
static void writeln(
const v8::FunctionCallbackInfo < v8::Value > & args
);