JadeHTTPConnection Methods
The methods defined in the JadeHTTPConnection class are summarized in the following table.
| Method | Description |
|---|---|
| configureProxy | Sets up the proxy server configuration |
| getHeader | Retrieves an HTTP header |
| getHttpPage | Returns the requested page |
| getHttpPageBinary | Returns the complete requested page in binary format, with no text encoding conversion performed |
| isStatusCodeSuccess | Returns true if the HTTP connection status code is within the specified range |
| open | Opens an HTTP connection |
| queryConnectionIsClose | Checks if the HTTP connection is closed |
| queryContentLength | Returns the length of the response message |
| queryContentType | Returns the content type of the response message |
| queryDate | Returns the timestamp at which the response message originated |
| queryInfo | Retrieves header information associated with an HTTP request |
| queryStatusCode | Retrieves the HTTP status code returned by the server |
| readBody | Retrieves the response message from an HTTP request |
| sendRequest | Sends the specified request to the HTTP server |
| sendRequestUtf8 | Sends the specified request from an ANSI system as StringUtf8 data to the HTTP server |
| setAccept | Sets Accept HTTP headers |
| setContentType | Sets Content-Type HTTP headers |
| setKeepAlive | Sets the Proxy-Connection HTTP header |
| setReferer | Sets the Referer HTTP header |
| setReload | Sets the Pragma HTTP header |
| setSoapAction | Sets the SOAPAction HTTP header |
| setUserAgent | Sets the User-Agent HTTP header |
