New (HttpRequest constructor): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:HttpRequest:New subtitle}} | {{Template:HttpRequest:New subtitle}} | ||
This <var>HttpRequest</var> constructor takes no arguments and sets the request object default values. For more information about <var>HttpRequest</var> object defaults, see the [[List_of_HttpRequest_methods|individual method descriptions]]. | |||
==Syntax== | ==Syntax== |
Revision as of 01:30, 22 November 2011
Create a new HttpRequest object (HttpRequest class)
This HttpRequest constructor takes no arguments and sets the request object default values. For more information about HttpRequest object defaults, see the individual method descriptions.
Syntax
%httpRequest = [%(HttpRequest):]New
Syntax terms
%httpRequest | A declared HttpRequest object to contain the new HttpRequest object instance. |
---|---|
[%(HttpRequest)] | The optional class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking an HttpRequest Constructor. |
Usage notes
- As described in "Using New or other Constructors", New can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is Null:
%httpRequest = new %httpRequest = %(HttpRequest):new %httpRequest = %httpRequest:new