Table of Contents

OIL2 Class Standard.HTTPdisplayObject


class Standard . HTTPdisplayObject {
        oid     browserObj;
        oid     dataObj;
        string  errMess;
        string  menuBar;
        string  owner;
        string  pageName;
        string  parentName;
        oid     sleepingThread;
        oid     timerObj;
        oid     urlDirectory;
inherits from HTTPcachedObject;

DESCRIPTION

The HTTPdisplayObject class dynamically creates an HTML page that represents the current state of an object's instance variables. Objects of this class are created as needed by an HTTPobjectBrowser.

METHODS


Standard.HTTPdisplayObject:create

HTTPdisplayObject:create(oid urlDir, string sessionName, oid browser, string name, oid obj)

Method Description

The create method takes 5 arguments:

The target object's instance variables are retrieved and formatted as needed by the formatObject method.


Standard.HTTPdisplayObject:getRequest

HTTPdisplayObject:getRequest(array requestData, assoc options, string replyMethod, oid replyDest)

Method Description

Process an HTTP GET request and return the formatted display of the target object's current state.


Standard.HTTPdisplayObject:formatObject

HTTPdisplayObject:formatObject(oid obj)

Method Description

The formatObject method invokes describeInstanceVariables and extractInstanceVariables methods on the object specified as obj.

Return Value

An HTML document is returned in a string that represents the formatted display of the object's instance variables.