A B C E G H I P R S T W
A
- addCookie(String, String, String, String, Date, int) - 类 中的方法io.jafka.ptth.Request
-
请求增加Cookie
- addHeaders(String...) - 类 中的方法io.jafka.ptth.Request
-
添加HTTP的Header
- addHeaders(Header...) - 类 中的方法io.jafka.ptth.Request
-
添加HTTP的header
- addParam(String, Object) - 类 中的方法io.jafka.ptth.Request
-
添加一个参数
- addParams(Collection<String>) - 类 中的方法io.jafka.ptth.Request
-
- addParams(String...) - 类 中的方法io.jafka.ptth.Request
-
- addParams(List<StringPair>) - 类 中的方法io.jafka.ptth.Request
-
- addParams(StringPair...) - 类 中的方法io.jafka.ptth.Request
-
- addParams(Map<String, String>) - 类 中的方法io.jafka.ptth.Request
-
- asBytes() - 类 中的方法io.jafka.ptth.Response
-
- asFile(File) - 类 中的方法io.jafka.ptth.Response
-
- asFile() - 类 中的方法io.jafka.ptth.Response
-
随机生成文件名称
- asJson(Function<String, T>) - 类 中的方法io.jafka.ptth.Response
-
- asOutputStream() - 类 中的方法io.jafka.ptth.Response
-
- asString() - 类 中的方法io.jafka.ptth.Response
-
- asString(Charset) - 类 中的方法io.jafka.ptth.Response
-
B
- buildUrl(String, Charset, Map<String, String>) - 类 中的静态方法io.jafka.ptth.Request
-
- buildUrl(String, Charset, List<? extends NameValuePair>) - 类 中的静态方法io.jafka.ptth.Request
-
C
- create(Map<String, ?>) - 类 中的静态方法io.jafka.ptth.StringPair
-
- create(String...) - 类 中的静态方法io.jafka.ptth.StringPair
-
E
- execute(Request) - 类 中的静态方法io.jafka.ptth.Http
-
执行一个HTTP 请求
- execute(HttpRequestBase, HttpContext, boolean) - 类 中的静态方法io.jafka.ptth.Http
-
- execute() - 类 中的方法io.jafka.ptth.Request
-
G
- get() - 类 中的方法io.jafka.ptth.Request
-
- getCookie(String) - 类 中的方法io.jafka.ptth.Response
-
- getCookieStore() - 类 中的方法io.jafka.ptth.Response
-
- getCookieValue(String) - 类 中的方法io.jafka.ptth.Response
-
- getEntity() - 类 中的方法io.jafka.ptth.Request
-
- getHeader(String) - 类 中的方法io.jafka.ptth.Response
-
- getHeaders() - 类 中的方法io.jafka.ptth.Request
-
- getHeaders() - 类 中的方法io.jafka.ptth.Response
-
- getHeaderValue(String) - 类 中的方法io.jafka.ptth.Response
-
- getHttpClient() - 类 中的静态方法io.jafka.ptth.Http
-
创建或者打开一个HTTP连接池
- getHttpContext() - 类 中的方法io.jafka.ptth.Request
-
HTTP请求的上下文参数
- getHttpContext() - 类 中的方法io.jafka.ptth.Response
-
- getLocalsiteaddress() - 类 中的方法io.jafka.ptth.Request
-
获取本机的全部私有IP地址
- getParams() - 类 中的方法io.jafka.ptth.Request
-
- getStatusCode() - 类 中的方法io.jafka.ptth.Response
-
- getTimecost() - 类 中的方法io.jafka.ptth.Response
-
- getUrl() - 类 中的方法io.jafka.ptth.Request
-
拼接完整的URL(如果是GET请求,则将全部参数拼接到URL上,POST请求并不会)
H
- Http - io.jafka.ptth中的类
-
HTTP 客户端
- Http() - 类 的构造器io.jafka.ptth.Http
-
I
- io.jafka.ptth - 程序包 io.jafka.ptth
-
- isGet() - 类 中的方法io.jafka.ptth.Request
-
- isPost() - 类 中的方法io.jafka.ptth.Request
-
- isScOk() - 类 中的方法io.jafka.ptth.Response
-
P
- post() - 类 中的方法io.jafka.ptth.Request
-
R
- removeHeader(String) - 类 中的方法io.jafka.ptth.Request
-
- Request - io.jafka.ptth中的类
-
HTTP请求(用于包装参数)
- Request(String) - 类 的构造器io.jafka.ptth.Request
-
- Request(String, String) - 类 的构造器io.jafka.ptth.Request
-
- Request(String, String, Charset) - 类 的构造器io.jafka.ptth.Request
-
构造一个http 请求
- Response - io.jafka.ptth中的类
-
HTTP 响应(包装结果)
- Response() - 类 的构造器io.jafka.ptth.Response
-
- Response(int) - 类 的构造器io.jafka.ptth.Response
-
- retry(int) - 类 中的方法io.jafka.ptth.Request
-
出错尝试几次
S
- setConnectionTimeout(int) - 类 中的方法io.jafka.ptth.Request
-
set the connection timeout
- setCookieStore(CookieStore) - 类 中的方法io.jafka.ptth.Request
-
- setEncoding(Charset) - 类 中的方法io.jafka.ptth.Request
-
设置请求的字符编码
- setEncoding(Charset) - 类 中的方法io.jafka.ptth.Response
-
- setEntity(String) - 类 中的方法io.jafka.ptth.Request
-
- setEntity(HttpEntity) - 类 中的方法io.jafka.ptth.Request
-
- setForceOk(boolean) - 类 中的方法io.jafka.ptth.Request
-
- setMethod(String) - 类 中的方法io.jafka.ptth.Request
-
设置HTTP请求的方法
- setReferer() - 类 中的方法io.jafka.ptth.Request
-
用uri来构造Referer
- setReferer(String) - 类 中的方法io.jafka.ptth.Request
-
- setSoTimeout(int) - 类 中的方法io.jafka.ptth.Request
-
set the so_timeout
- setUserAgent(String) - 类 中的方法io.jafka.ptth.Request
-
设置HTTP的UserAgent对象
- setUserAgent() - 类 中的方法io.jafka.ptth.Request
-
使用Chrome浏览器模拟
- shutdown() - 类 中的静态方法io.jafka.ptth.Http
-
关闭连接池
- StringPair - io.jafka.ptth中的类
-
参数处理(用于处理HTTP HEADER和HTTP PARAMS)
- StringPair(String, Object) - 类 的构造器io.jafka.ptth.StringPair
-
T
- toDebugString() - 类 中的方法io.jafka.ptth.Request
-
生成调试信息(包括HEADER/BODY等)
- toString() - 类 中的方法io.jafka.ptth.Request
-
- toString() - 类 中的方法io.jafka.ptth.Response
-
W
- withCookieStore() - 类 中的方法io.jafka.ptth.Request
-
- withHttpProxy(String, int) - 类 中的方法io.jafka.ptth.Request
-
- withHttpProxy(HttpHost) - 类 中的方法io.jafka.ptth.Request
-
A B C E G H I P R S T W
Copyright © 2017. All rights reserved.