| 程序包 | 说明 |
|---|---|
| name.ilab.http | |
| name.ilab.http.maker |
| 限定符和类型 | 字段和说明 |
|---|---|
protected HttpMethod |
BaseResponse.method |
protected HttpMethod |
BaseRequest.method |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
IHttpRequest.getMethod() |
HttpMethod |
BaseResponse.getMethod() |
HttpMethod |
BaseRequest.getMethod() |
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BaseResponse.setMethod(HttpMethod method) |
void |
BaseRequest.setMethod(HttpMethod method) |
| 构造器和说明 |
|---|
BaseResponse(int statusCode,
HttpMethod method,
String url,
Map<String,String> header) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
HttpApi.getMethod() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpApi.setMethod(HttpMethod method) |
Copyright © 2016. All rights reserved.