Poco::JS::Net

class HTTPResponseWrapper

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

HTTPResponseWrapper();

Creates the HTTPResponseWrapper for the root logger.

Destructor

~HTTPResponseWrapper virtual

~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 virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

construct protected static

static void construct(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

destruct protected static

static void destruct(
    const v8::WeakCallbackInfo < ResponseHolder > & data
);

getBuffer protected static

static void getBuffer(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getContent protected static

static void getContent(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getContentType protected static

static void getContentType(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getHeader protected static

static void getHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

getHeaders protected static

static void getHeaders(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getReason protected static

static void getReason(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getStatus protected static

static void getStatus(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getVersion protected static

static void getVersion(
    v8::Local < v8::Name > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

hasHeader protected static

static void hasHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

htmlize protected static

static void htmlize(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

isHTTPResponse protected static

static void isHTTPResponse(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

redirect protected static

static void redirect(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

send protected static

static void send(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

sendFile protected static

static void sendFile(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setBuffer protected static

static void setBuffer(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setContent protected static

static void setContent(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setContentType protected static

static void setContentType(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setHeader protected static

static void setHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setReason protected static

static void setReason(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setStatus protected static

static void setStatus(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setStatus protected static

static void setStatus(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setVersion protected static

static void setVersion(
    v8::Local < v8::Name > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

write protected static

static void write(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

writeHTML protected static

static void writeHTML(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

writeln protected static

static void writeln(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Securely control IoT edge devices from anywhere   Connect a Device