The constants provided by the JadeHTTPConnection class are listed in the following table.
| Name | Type and Value | Description |
|---|---|---|
| Default_FTP | Integer = 21 | Default FTP port |
| DefaultPort_HTTP | Integer = 80 | Default HTTP port |
| DefaultPort_HTTPS | Integer = 443 | Default HTTPS port |
| DefaultPort_Invalid | Integer = -1 | Default invalid port |
| DefaultPort_Socks | Integer = 1080 | Default SOCKS port |
| HeaderType_Client | Integer = 1 | Client HTTP header type |
| HeaderType_Server | Integer = 2 | Server HTTP header type |
| Header_Accept | String = "Accept" | Accept header |
| Header_ContentLength | String = "Content‑Length" | Content‑length header |
| Header_ContentType | String = "Content‑Type" | Content‑type header |
| Header_Host | String = "Host" | Host header |
| Header_KeepAlive | String = "Proxy‑Connection" | Proxy‑connection header |
| Header_Protocol | String = "Protocol" | Protocol header |
| Header_ReasonPhrase | String = "Reason‑Phrase" | Reason‑phrase header |
| Header_Referer | String = "Referer" | Referer header |
| Header_SoapAction | String = "SOAPAction" | SOAPAction header |
| Header_StatusCode | String = "Status‑Code" | Status‑code header |
| Header_UserAgent | String = "User-Agent" | User-agent header |
| ProtocolVersion_1_0 | String = "HTTP/1.0" | HTTP Protocol 1.0 |
| ProtocolVersion_1_1 | String = "HTTP/1." | HTTP Protocol 1.1 |
| ProxyConfig_Direct | Integer = 1 | Resolves all host names locally |
| ProxyConfig_Preconfig | Integer = 0 | Retrieves the proxy or direct configuration from the registry |
| ProxyConfig_Preconfig_NoAuto | Integer = 4 | Retrieves the proxy or direct configuration from the registry and prevents the use of a start‑up Microsoft JScript or wpad.dat file |
| ProxyConfig_Proxy | Integer = 3 | Passes requests to the proxy |
| Scheme_DIRECT | String = "jadehttp.tcp" | JADE Direct scheme |
| Scheme_DIRECT_6_2 | String = "jadehttp.tcp2" | JADE 6.2 Direct scheme |
| Scheme_DIRECT_6_2_TcpIpV4 | String = "jadehttp.tcp2v4" | JADE 6.2 TcpIPv4 Direct scheme |
| Scheme_DIRECT_6_2_TcpIpV6 | String = "jadehttp.tcp2v6" | JADE 6.2 TcpIPv6 Direct scheme |
| Scheme_FILE | String = "file" | File scheme; not supported |
| Scheme_FTP | String = "ftp" | FTP scheme; not supported |
| Scheme_HTTP | String = "http" | HTTP scheme |
| Scheme_HTTPS | String = "https" | HTTPS scheme |
| State_Failure | Integer = 8 | Failed HTTP connection state (for details, see the state property) |
| State_NeedConnection | Integer = 0 | Not connected |
| State_NeedRequest | Integer = 1 | Connected and waiting for request |
| State_NoData | Integer = 6 | No data available; not supported |
| Verb_CONNECT | String = "CONNECT" | The CONNECT operation; not supported |
| Verb_DELETE | String = "DELETE" | The DELETE operation; not supported |
| Verb_GET | String = "GET" | The GET operation |
| Verb_HEAD | String = "HEAD" | The HEAD operation; not supported |
| Verb_OPTIONS | String = "OPTIONS" | The OPTIONS operation; not supported |
| Verb_POST | String = "POST" | The POST operation |
| Verb_PUT | String = "PUT" | The PUT operation; not supported |
| Verb_TRACE | String = "TRACE" | The TRACE operation; not supported |