New (HttpRequest constructor)

From m204wiki
Revision as of 00:48, 19 June 2011 by Goff (talk | contribs) (match syntax table to syntax template;)
Jump to navigation Jump to search

Create a new HttpRequest object (HttpRequest class)

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.

Syntax

%httpRequest = [%(HttpRequest):]New

Syntax terms

httpRequest 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:

    %httpRequest = new %httpRequest = %(httpRequest):new %httpRequest = %httpRequest :new

See also