| 限定符和类型 | 类和说明 |
|---|---|
static class |
CUrl.FileIO |
static class |
CUrl.MemIO |
static class |
CUrl.WrappedIO |
| 限定符和类型 | 方法和说明 |
|---|---|
CUrl |
CUrl.cookie(CUrl.IO input)
读取数据IO并添加请求Cookie。
|
CUrl |
CUrl.cookieJar(CUrl.IO output)
输出Cookie到给定的数据IO
Output Cookie to given IO object
|
CUrl |
CUrl.data(CUrl.IO input,
boolean binary)
从input中读取数据作为post数据
Read data from input and use as post data
|
CUrl |
CUrl.dumpHeader(CUrl.IO output)
倾印原始响应头到给定的数据IO
|
CUrl |
CUrl.form(String name,
CUrl.IO input)
发起post文件上传,添加一个文件上传的表单项
Issue a form based upload and add a file item
|
CUrl |
CUrl.io(String key,
CUrl.IO io)
添加一个数据IO,可作为数据输入或数据输出,在--data等参数值中引用
|
static void |
CUrl.loadCookies(CUrl.IO input)
Load cookies from the specified IO object to the cookie-store binding with current thread
|
CUrl |
CUrl.output(CUrl.IO output)
输出应答数据到给定数据IO
|
static void |
CUrl.saveCookies(CUrl.IO output)
Save all cookies binding with current thread to the specified IO object.
|
CUrl |
CUrl.stderr(CUrl.IO output)
重定向标准错误输出到给定的数据IO
|
Copyright © 2018. All rights reserved.