| 程序包 | 说明 |
|---|---|
| cn.majingjing.http.client | |
| cn.majingjing.http.client.request |
| 限定符和类型 | 方法和说明 |
|---|---|
static CustomRequest |
HttpClient.custom(RequestMethod method,
java.lang.String url)
自定义方式的请求对象
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected RequestMethod |
BaseRequest.method
请求方式
|
| 限定符和类型 | 方法和说明 |
|---|---|
RequestMethod |
HttpRequest.getMethod() |
static RequestMethod |
RequestMethod.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RequestMethod[] |
RequestMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
BaseRequest(java.lang.String url,
RequestMethod method)
基础请求对象构造方法
|
CustomRequest(java.lang.String url,
RequestMethod method) |
Copyright © 2021. All Rights Reserved.