New (HttpRequest constructor)

From m204wiki
Revision as of 23:53, 14 June 2011 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/><section end=dpl_desc/>

The HTTPRequest constructor (run automatically when New is issued) takes no arguments and sets the request object default values. For more information about HTTP request object defaults, see the individual method descriptions in this chapter.

Syntax

%httpreq = New

Syntax terms

%httpreq The declared HTTPRequest object that gets instantiated by New.

Usage notes

New can be called with no object, with an explicit class name, or with an object variable, even if that object is null:

%httpreq = new %httpreq = %(httprequest):new %httpreq = %httpreq:new