New (HttpRequest constructor)
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 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 class name in parentheses denotes a shared method. New can also be invoked via an HttpRequest object variable, which may be Null. |
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