getHttpPage

getHttpPage(pVerb:        String,
            pServerName:  String;
            pUrlAddress:  String;
            pMessage:     String;
            pContentType: String): String;

The getHttpPage method of the JadeHTTPConnection class returns the requested page.

The pVerb parameter specifies the HTTP verb to use in the request. The value can be "GET" (the default value), "POST", "DELETE", "PUT", or null.

The pServerName parameter specifies the scheme, host, and other optional parameters. This parameter value is specified as "scheme://[user[:password]@]host[:port]", where:

If the value of the pServerName parameter is null, the host information portion of the url property is used (that is, [user[:password]@]host[:port]).

The pUrlAddress parameter specifies the relative URI from the server (that is, [/]path[?query][#fragment]). If this value is null, the value of the url property is used.

The optional pMessage parameter specifies the body of the message for POST requests.

The pContentType parameter, which specifies the content type, has a default value of "text/xml; charset=utf-8".

The getHttpPage method returns a string representing the message response, or it returns null if the request failed.