|
xlang v5.1 Release
程序设计语言基础库文档
|

Public 成员函数 |
静态 Public 属性 |
HttpRequest类,用于处理HTTP请求 定义了多种代理类型常量和请求方法
在文件 HttpRequest.x 第 5 行定义.
| HttpRequest | ( | ) |
构造函数 初始化HTTP请求对象
| long available | ( | bool | ) |
| void finalize | ( | ) |
| bool get | ( | String | , |
| int | , | ||
| bool | |||
| ) | throws IllegalArgumentException |
| long getLength | ( | ) |
| int getResponseCode | ( | ) |
| int getResponseHeaderCount | ( | ) |
| String getResponseHeaderKey | ( | int | ) |
| String getResponseHeaderValue | ( | int | ) |
| bool post | ( | String | , |
| int | , | ||
| bool | |||
| ) | throws IllegalArgumentException |
| bool putField | ( | String | , |
| byte[], | |||
| int | , | ||
| int | |||
| ) |
| bool putField | ( | String | , |
| String | |||
| ) |
| bool putFormField | ( | String | , |
| String | |||
| ) |
| bool putFormField | ( | String | , |
| String, | |||
| String, | |||
| byte[] | |||
| ) |
| bool putFormField | ( | String | , |
| String, | |||
| String, | |||
| Stream | |||
| ) |
| bool putFormField | ( | String | , |
| String, | |||
| String, | |||
| String | |||
| ) |
| bool putHeader | ( | String | ) |
| int read | ( | byte | [], |
| int | , | ||
| int | |||
| ) |
| bool removeField | ( | String | ) |
| bool removeHeader | ( | String | ) |
| bool reset | ( | ) |
| bool setCookie | ( | String | ) |
| bool setCookieInputFile | ( | String | ) |
| bool setCookieOutputFile | ( | String | ) |
| bool setProxy | ( | String | , |
| int | , | ||
| int | , | ||
| String, | |||
| String | |||
| ) |
| bool setUserAgent | ( | String | ) |
|
static |
在文件 HttpRequest.x 第 8 行定义.
|
static |
在文件 HttpRequest.x 第 9 行定义.
|
static |
在文件 HttpRequest.x 第 13 行定义.
|
static |
在文件 HttpRequest.x 第 10 行定义.
|
static |
在文件 HttpRequest.x 第 12 行定义.
|
static |
在文件 HttpRequest.x 第 11 行定义.