| 程序包 | 说明 |
|---|---|
| com.fengwenyi.javalib.http | |
| com.fengwenyi.javalib.http.client | |
| com.fengwenyi.javalib.http.client.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
static Request.Option |
HttpUtils.buildOption(java.lang.Integer connectTimeoutSecond,
java.lang.Integer readTimeoutSecond,
java.util.Map<java.lang.String,java.lang.String> headers)
构造 Request.Option
|
static Request.Option |
Request.Option.create(java.lang.Integer connectTimeoutSecond,
java.lang.Integer readTimeoutSecond)
创建 Request.Option
|
static Request.Option |
Request.Option.create(java.lang.Integer connectTimeoutSecond,
java.lang.Integer readTimeoutSecond,
java.util.Map<java.lang.String,java.lang.String> headers)
创建 Request.Option
|
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
HttpUtils.execute(Request request,
Request.Option option)
执行 HTTP 请求
|
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
HttpClient.execute(Request request,
Request.Option option)
执行 http 请求
|
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
JdkHttpClient.execute(Request request,
Request.Option option) |
Copyright © 2022. All Rights Reserved.